removed reload on hide modal

This commit is contained in:
zmagod 2017-06-22 16:47:50 +02:00
parent a2e1aa5b36
commit 1690d8ebe3

View file

@ -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