From 3b4e4823c3628a412ebcced5be65853e9033bf05 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 29 Jan 2014 16:50:11 -0800 Subject: [PATCH] CRM-10760 - Autocomplte - Place menu in front --- templates/CRM/common/Navigation.tpl | 4 ++++ 1 file changed, 4 insertions(+) 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() { -- 2.25.1