From 711da13f7307fe879d54cf8ad3eb78e3aaffea8d Mon Sep 17 00:00:00 2001 From: kurund Date: Fri, 19 Dec 2014 00:54:09 +0530 Subject: [PATCH] code cleanup --- js/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Common.js b/js/Common.js index e1e66a8af4..70531e5705 100644 --- a/js/Common.js +++ b/js/Common.js @@ -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])')) { -- 2.25.1