From c76596414bb1fcdb2e7b728e4c7219cd13d6f094 Mon Sep 17 00:00:00 2001 From: Mukul Date: Thu, 28 Sep 2017 11:37:54 +0530 Subject: [PATCH] this is solution for refresh issue which was throw login page --- 400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js b/400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js index 4303122..afc5b9c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js +++ b/400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js @@ -1,10 +1,10 @@ // Refer bug: 22056 -$(window).on('mouseover', (function () { - window.onbeforeunload = null; -})); -$(window).on('mouseout', (function () { - window.onbeforeunload = ConfirmLeave; -})); +//$(window).on('mouseover', (function () { +// window.onbeforeunload = null; +//})); +//$(window).on('mouseout', (function () { +// window.onbeforeunload = ConfirmLeave; +//})); function ConfirmLeave() { if (typeof (localStorage.getItem("loggedInUserDetails")) !== 'undefined') { localStorage.removeItem('loggedInUserDetails'); -- libgit2 0.21.4