mirror of https://github.com/jumpserver/jumpserver
fix: 工单复核bug
parent
f129f99faa
commit
0f7c8c2570
|
@ -134,7 +134,6 @@ function cancelTicket() {
|
|||
}
|
||||
|
||||
function cancelCloseConfirm() {
|
||||
cancelTicket();
|
||||
window.onbeforeunload = function() {};
|
||||
window.onunload = function(){};
|
||||
}
|
||||
|
@ -158,6 +157,7 @@ $(document).ready(function () {
|
|||
cancelCloseConfirm();
|
||||
window.location.reload();
|
||||
}).on('click', '.btn-return', function () {
|
||||
cancelTicket();
|
||||
cancelCloseConfirm();
|
||||
window.location = "{% url 'authentication:login' %}"
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue