Commit 660f6ff7c0b36d76f715326c3c2d4197b2890d38
Merge branch 'refreshissuenew' into Develop
Showing
1 changed file
with
6 additions
and
6 deletions
400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js
1 | // Refer bug: 22056 | 1 | // Refer bug: 22056 |
2 | -$(window).on('mouseover', (function () { | ||
3 | - window.onbeforeunload = null; | ||
4 | -})); | ||
5 | -$(window).on('mouseout', (function () { | ||
6 | - window.onbeforeunload = ConfirmLeave; | ||
7 | -})); | 2 | +//$(window).on('mouseover', (function () { |
3 | +// window.onbeforeunload = null; | ||
4 | +//})); | ||
5 | +//$(window).on('mouseout', (function () { | ||
6 | +// window.onbeforeunload = ConfirmLeave; | ||
7 | +//})); | ||
8 | function ConfirmLeave() { | 8 | function ConfirmLeave() { |
9 | if (typeof (localStorage.getItem("loggedInUserDetails")) !== 'undefined') { | 9 | if (typeof (localStorage.getItem("loggedInUserDetails")) !== 'undefined') { |
10 | localStorage.removeItem('loggedInUserDetails'); | 10 | localStorage.removeItem('loggedInUserDetails'); |