clear cache after adding new books
This commit is contained in:
parent
cc3a394dd5
commit
aa74a9fc43
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
oml.upload(event.originalEvent.dataTransfer.files, function(response) {
|
oml.upload(event.originalEvent.dataTransfer.files, function(response) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
Ox.Request.clearCache();
|
||||||
oml.UI.set({listSelection: response.data.ids});
|
oml.UI.set({listSelection: response.data.ids});
|
||||||
oml.reloadList();
|
oml.reloadList();
|
||||||
}, 50);
|
}, 50);
|
||||||
|
|
Loading…
Add table
Reference in a new issue