mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +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');
|
let url = row.attr('data-save-to-inventory-path');
|
||||||
$.get(url, function(result) {
|
$.get(url, function(result) {
|
||||||
let modal = $(result.html);
|
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);
|
$('#content-reports-index').append(modal);
|
||||||
modal.modal('show');
|
modal.modal('show');
|
||||||
// Remove modal when it gets closed
|
// Remove modal when it gets closed
|
||||||
|
@ -327,7 +327,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function initDeleteReports() {
|
function initDeleteReports() {
|
||||||
$(document).on('click', '#delete-reports-btn', function() {
|
$(document).on('click', '#delete-reports-btn', function() {
|
||||||
|
|
Loading…
Reference in a new issue