From 6a9accf68f78b8f69872f3a529b740f8636cad72 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 27 Nov 2015 12:49:44 -0500 Subject: [PATCH] fix search hide --- dashboard-ui/scripts/search.js | 2 +- .../thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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: {