Commit c76596414bb1fcdb2e7b728e4c7219cd13d6f094
1 parent
63bcb370
this is solution for refresh issue which was throw login page
Showing
1 changed file
with
6 additions
and
6 deletions
400-SOURCECODE/AIAHTML5.Web/libs/check_browser_close.js
1 | 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 | 8 | function ConfirmLeave() { |
9 | 9 | if (typeof (localStorage.getItem("loggedInUserDetails")) !== 'undefined') { |
10 | 10 | localStorage.removeItem('loggedInUserDetails'); | ... | ... |