diff --git a/dashboard-ui/scripts/search.js b/dashboard-ui/scripts/search.js index 2c6da4557f..5143cec7a0 100644 --- a/dashboard-ui/scripts/search.js +++ b/dashboard-ui/scripts/search.js @@ -215,7 +215,7 @@ }); } - $(document).on('pagecontainerbeforehide', closeSearchResults); + document.addEventListener('pagebeforehide', closeSearchResults); document.addEventListener('headercreated', function () { diff --git a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js index 4943069a9a..2263792d48 100644 --- a/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js +++ b/dashboard-ui/thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js @@ -1872,7 +1872,6 @@ // trigger the old deprecated event on the page if it's provided //(page || this.element).trigger(deprecatedEvent, data); - (page || this.element)[0].dispatchEvent(new CustomEvent("page" + name, { bubbles: true, detail: {