[Advanced Logbook] Enable print label button again if close on dialog

这个提交包含在:
Andreas 2023-08-05 21:46:03 +02:00
父节点 e154037e2c
当前提交 bf213b1773

查看文件

@ -464,8 +464,6 @@ $(document).ready(function () {
}
$('#printLabel').prop("disabled", true);
$.ajax({
url: base_url + 'index.php/logbookadvanced/startAtLabel',
type: 'post',
@ -481,6 +479,7 @@ $(document).ready(function () {
buttons: [{
label: 'Close',
action: function (dialogItself) {
$('#printLabel').prop("disabled", false);
dialogItself.close();
}
}]