|
|
@ -134,7 +134,6 @@ function cancelTicket() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function cancelCloseConfirm() {
|
|
|
|
function cancelCloseConfirm() {
|
|
|
|
cancelTicket();
|
|
|
|
|
|
|
|
window.onbeforeunload = function() {};
|
|
|
|
window.onbeforeunload = function() {};
|
|
|
|
window.onunload = function(){};
|
|
|
|
window.onunload = function(){};
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -158,6 +157,7 @@ $(document).ready(function () {
|
|
|
|
cancelCloseConfirm();
|
|
|
|
cancelCloseConfirm();
|
|
|
|
window.location.reload();
|
|
|
|
window.location.reload();
|
|
|
|
}).on('click', '.btn-return', function () {
|
|
|
|
}).on('click', '.btn-return', function () {
|
|
|
|
|
|
|
|
cancelTicket();
|
|
|
|
cancelCloseConfirm();
|
|
|
|
cancelCloseConfirm();
|
|
|
|
window.location = "{% url 'authentication:login' %}"
|
|
|
|
window.location = "{% url 'authentication:login' %}"
|
|
|
|
})
|
|
|
|
})
|
|
|
|