mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
cleanup
This commit is contained in:
parent
d43f10bc6a
commit
017781d0dc
1 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@
|
|||
let url = row.attr('data-save-to-inventory-path');
|
||||
$.get(url, function(result) {
|
||||
let modal = $(result.html);
|
||||
if ($('#content-reports-index').find('.modal').length === 0) {
|
||||
if ($('#content-reports-index').find('#savePDFtoInventory').length === 0) {
|
||||
$('#content-reports-index').append(modal);
|
||||
modal.modal('show');
|
||||
// Remove modal when it gets closed
|
||||
|
@ -327,7 +327,7 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function initDeleteReports() {
|
||||
$(document).on('click', '#delete-reports-btn', function() {
|
||||
|
|
Loading…
Reference in a new issue