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

@ -31,10 +31,7 @@ oml.ui.deleteItemsDialog = function() {
oml.UI.set({listSelection: []});
Ox.Request.clearCache(); // too much?
oml.$ui.info.updateElement();
oml.$ui.filters.forEach(function($filter) {
$filter.reloadList();
});
oml.$ui.list.updateElement();
oml.reloadLists();
oml.user.ui.item && oml.UI.set({
item: '',
itemView: 'info'