projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704a585
)
Improve docs in comments
author
Romain Thouvenin
<romain@wemove.eu>
Mon, 15 Mar 2021 13:34:40 +0000
(14:34 +0100)
committer
Romain Thouvenin
<romain@wemove.eu>
Mon, 15 Mar 2021 13:34:40 +0000
(14:34 +0100)
js/Common.js
patch
|
blob
|
blame
|
history
diff --git
a/js/Common.js
b/js/Common.js
index e5754fcfe09bd07512ffbb12771af1bb10e2cf73..bca9edf887f472ef737f46d9eb7de2de7bfc0e0f 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-420,6
+420,8
@@
if (!CRM.vars) CRM.vars = {};
};
// quickform doesn't support optgroups so here's a hack :(
+ // Instead of using wrapAll or similar that repeatedly appends options to the group and redraw the page (=> very slow on large lists),
+ // build bulk HTML and insert in single shot
var optGroups = {};
$('option[value^=crm_optgroup]', this).each(function () {
var groupHtml = '';