From: Coleman Watts Date: Thu, 30 Jan 2014 00:50:11 +0000 (-0800) Subject: CRM-10760 - Autocomplte - Place menu in front X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3b4e4823c3628a412ebcced5be65853e9033bf05;p=civicrm-core.git CRM-10760 - Autocomplte - Place menu in front --- diff --git a/templates/CRM/common/Navigation.tpl b/templates/CRM/common/Navigation.tpl index 148dfe0f97..4a1477148e 100644 --- a/templates/CRM/common/Navigation.tpl +++ b/templates/CRM/common/Navigation.tpl @@ -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() {