diff --git a/templates/CRM/common/navigation.js.tpl b/templates/CRM/common/navigation.js.tpl index d6c6912f50ab..c462597f7f03 100644 --- a/templates/CRM/common/navigation.js.tpl +++ b/templates/CRM/common/navigation.js.tpl @@ -178,7 +178,8 @@ $('#civicrm-menu').ready(function() { } $('.crm-quickSearchField').click(function() { setQuickSearchValue(); - $('#sort_name_navigation').focus(); + $.Menu.closeAll(); + $('#sort_name_navigation').focus().autocomplete("search"); }); // Set & retrieve default value if (window.localStorage) {