clear cache after adding new books

This commit is contained in:
j 2016-01-10 22:12:07 +05:30
parent cc3a394dd5
commit aa74a9fc43
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@
event.preventDefault();
oml.upload(event.originalEvent.dataTransfer.files, function(response) {
setTimeout(function() {
Ox.Request.clearCache();
oml.UI.set({listSelection: response.data.ids});
oml.reloadList();
}, 50);