diff --git a/src/Umbraco.Web.UI/umbraco/Search/quickSearch.js b/src/Umbraco.Web.UI/umbraco/Search/quickSearch.js index 3c729d95c2..142f108f66 100644 --- a/src/Umbraco.Web.UI/umbraco/Search/quickSearch.js +++ b/src/Umbraco.Web.UI/umbraco/Search/quickSearch.js @@ -34,6 +34,7 @@ dataType: 'json', matchCase: true, matchContains: false, + selectFirst: false, // FR: This enabled the search popup to show, otherwise it selects the first item extraParams: { //return the current app, if it's not media, then it's Content as this is the only searches that are supported. app: function () { diff --git a/src/Umbraco.Web.UI/umbraco_client/Application/JQuery/jquery.autocomplete.js b/src/Umbraco.Web.UI/umbraco_client/Application/JQuery/jquery.autocomplete.js index 02b3012e55..9207aaafc2 100644 --- a/src/Umbraco.Web.UI/umbraco_client/Application/JQuery/jquery.autocomplete.js +++ b/src/Umbraco.Web.UI/umbraco_client/Application/JQuery/jquery.autocomplete.js @@ -438,6 +438,7 @@ var length = 0; function matchSubset(s, sub) { + s = s.toString(); // FR: This forces the value to be a string, otherwise the indexOf() method fails on anything other but a string if (!options.matchCase) s = s.toLowerCase(); var i = s.indexOf(sub);