code cleanup
authorkurund <kurund@civicrm.org>
Thu, 18 Dec 2014 19:24:09 +0000 (00:54 +0530)
committerkurund <kurund@civicrm.org>
Thu, 18 Dec 2014 19:24:09 +0000 (00:54 +0530)
js/Common.js

index e1e66a8af4c0e8d29f6d18afb200ab91a2ee09ad..70531e5705b163f9ee32edca16b10ef7a6bee02b 100644 (file)
@@ -312,7 +312,7 @@ 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]').attr('disabled', 'disabled');
+      $('option[value^=crm_disabled_opt]', this).attr('disabled', 'disabled');
 
       // Defaults for single-selects
       if ($el.is('select:not([multiple])')) {