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

@ -33,11 +33,7 @@ oml.ui.editDialog = function() {
if (!ui.updateResults && hasChanged) {
Ox.Request.clearCache();
oml.$ui.info.updateElement();
oml.$ui.filters.forEach(function($filter) {
$filter.reloadList();
});
oml.$ui.list.reloadList(true);
oml.$ui.browser.reloadList(true);
oml.reloadLists();
}
that.close();
}