mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
removed reload on hide modal
This commit is contained in:
parent
a2e1aa5b36
commit
1690d8ebe3
1 changed files with 0 additions and 9 deletions
|
@ -7,14 +7,6 @@
|
|||
location.reload();
|
||||
}
|
||||
|
||||
function reloadOnHidden() {
|
||||
$('#modal-import-records')
|
||||
.on('hidden.bs.modal', function() {
|
||||
animateSpinner();
|
||||
location.reload();
|
||||
});
|
||||
}
|
||||
|
||||
function initImportRecordsModal() {
|
||||
$('#importRecordsButton').off().on('click', function() {
|
||||
$('#modal-import-records').modal('show');
|
||||
|
@ -52,7 +44,6 @@
|
|||
pane.tab('show').promise().done(function() {
|
||||
initImportRecordsModal();
|
||||
});
|
||||
reloadOnHidden()
|
||||
},
|
||||
error: function (error) {
|
||||
// TODO
|
||||
|
|
Loading…
Reference in a new issue