Fix interaction with quicksearch when popup is open
authorColeman Watts <coleman@civicrm.org>
Sun, 29 Mar 2015 23:22:03 +0000 (19:22 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 29 Mar 2015 23:22:03 +0000 (19:22 -0400)
js/Common.js

index 5937ac41e42a7ef7071761e832e2abacb8e82c45..e0ac0498f5ddb7b571289dbc0a1ea3cbee8366d7 100644 (file)
@@ -200,7 +200,7 @@ CRM.strings = CRM.strings || {};
 
   // Workaround for https://github.com/ivaynberg/select2/issues/1246
   $.ui.dialog.prototype._allowInteraction = function(e) {
-    return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop, .cke_dialog').length;
+    return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop, .cke_dialog, #civicrm-menu').length;
   };
 
   /**