mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Refresh only when closing the importer dialog
This commit is contained in:
parent
bbba1efe2d
commit
b3ee9b0037
@ -310,9 +310,8 @@
|
||||
self.timetableList.clearSelection();
|
||||
self.importerList.clearSelection();
|
||||
self.emptySearchDiv.showAfterSearch();
|
||||
} else {
|
||||
self.close();
|
||||
}
|
||||
self.reloadPage = true;
|
||||
});
|
||||
}],
|
||||
[$t.gettext('Close'), function() {
|
||||
@ -328,6 +327,14 @@
|
||||
disabled: true
|
||||
});
|
||||
return this.ExclusivePopupWithButtons.prototype.draw.call(this, this.drawContent());
|
||||
},
|
||||
|
||||
_onClose: function(evt) {
|
||||
if (this.reloadPage) {
|
||||
location.reload();
|
||||
IndicoUI.Dialogs.Util.progress();
|
||||
}
|
||||
return self.ExclusivePopupWithButtons.prototype._onClose.call(this, evt);
|
||||
}
|
||||
},
|
||||
|
||||
@ -672,9 +679,6 @@
|
||||
}
|
||||
self.close();
|
||||
killProgress();
|
||||
if (!hasError) {
|
||||
location.reload();
|
||||
}
|
||||
}
|
||||
else {
|
||||
new WarningPopup("Warning", "Some contributions will end after 24:00. Please modify start time and duration.").open();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user