mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 20:48:23 +08:00
Disable edit button if report generating [SCI-5729]
This commit is contained in:
parent
ed1467635f
commit
fce89a8a12
1 changed files with 7 additions and 0 deletions
|
@ -184,6 +184,13 @@
|
|||
$('#updateDocx').removeClass('disabled');
|
||||
}
|
||||
}
|
||||
|
||||
if (pdfProcessing || docxProcessing) {
|
||||
$('#edit-report-btn').addClass('disabled');
|
||||
} else {
|
||||
$('#edit-report-btn').removeClass('disabled');
|
||||
}
|
||||
|
||||
} else {
|
||||
$('.single-object-action').removeClass('hidden').addClass('disabled');
|
||||
$('.multiple-object-action').removeClass('disabled hidden');
|
||||
|
|
Loading…
Reference in a new issue