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:
47358d9
)
code cleanup
author
kurund
<kurund@civicrm.org>
Thu, 18 Dec 2014 19:21:45 +0000
(
00:51
+0530)
committer
kurund
<kurund@civicrm.org>
Thu, 18 Dec 2014 19:21:45 +0000
(
00:51
+0530)
js/Common.js
patch
|
blob
|
blame
|
history
diff --git
a/js/Common.js
b/js/Common.js
index 3f679f23a7d8478397b614d5781a64d32527c05e..e1e66a8af4c0e8d29f6d18afb200ab91a2ee09ad 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-312,9
+312,8
@@
CRM.strings = CRM.strings || {};
// quickform does not support disabled option, so yet another hack to
// add disabled property for option values
- $('option[value^=crm_disabled_opt]', this).each(function () {
- $(this).attr('disabled', 'disabled');
- });
+ $('option[value^=crm_disabled_opt]').attr('disabled', 'disabled');
+
// Defaults for single-selects
if ($el.is('select:not([multiple])')) {
settings.minimumResultsForSearch = 10;