CRM-10760 - Autocomplte - Place menu in front
authorColeman Watts <coleman@civicrm.org>
Thu, 30 Jan 2014 00:50:11 +0000 (16:50 -0800)
committerColeman Watts <coleman@civicrm.org>
Thu, 30 Jan 2014 19:03:23 +0000 (11:03 -0800)
templates/CRM/common/Navigation.tpl

index 148dfe0f976b741845f458fa82fba182fbdb77cd..4a1477148e8a815c4bc7f43d498a8a819a3ad535 100644 (file)
@@ -111,6 +111,10 @@ $('#civicrm-menu').ready(function() {
       select: function (event, ui) {
         document.location = CRM.url('civicrm/contact/view', {reset: 1, cid: ui.item.value});
         return false;
+      },
+      create: function() {
+        // Place menu in front
+        $(this).crmAutocomplete('widget').css('z-index', (1 + $('#civicrm-menu').css('z-index')));
       }
     })
     .keydown(function() {