consolidate list reloading

This commit is contained in:
rlx 2016-01-12 14:22:20 +05:30
commit 904ed06349
8 changed files with 21 additions and 33 deletions

View file

@ -117,9 +117,8 @@
event.originalEvent.stopPropagation();
oml.upload(event.originalEvent.dataTransfer.files, function(response) {
setTimeout(function() {
Ox.Request.clearCache();
oml.reloadLists();
oml.UI.set({listSelection: response.data.ids});
oml.reloadList();
}, 50);
});
}