From dfe8e5d06ec8f41e91cd37fc97aa8855530e9fb7 Mon Sep 17 00:00:00 2001 From: kryptothesuperdog Date: Sat, 3 Jun 2017 23:25:49 +0100 Subject: [PATCH] CRM-20681 --- templates/CRM/common/navigation.js.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/CRM/common/navigation.js.tpl b/templates/CRM/common/navigation.js.tpl index d6c6912f50..3c80eceec5 100644 --- a/templates/CRM/common/navigation.js.tpl +++ b/templates/CRM/common/navigation.js.tpl @@ -179,6 +179,8 @@ $('#civicrm-menu').ready(function() { $('.crm-quickSearchField').click(function() { setQuickSearchValue(); $('#sort_name_navigation').focus(); + $.Menu.closeAll(); + $('#sort_name_navigation').autocomplete("search"); }); // Set & retrieve default value if (window.localStorage) { -- 2.25.1