consolidate list reloading
This commit is contained in:
parent
16c0514809
commit
904ed06349
8 changed files with 21 additions and 33 deletions
|
|
@ -50,11 +50,7 @@ oml.ui.findForm = function(list) {
|
|||
|
||||
function updateResults() {
|
||||
if (list || ui.updateResults) {
|
||||
Ox.Request.clearCache();
|
||||
oml.$ui.list.reloadList();
|
||||
oml.$ui.filters.forEach(function($filter) {
|
||||
$filter.reloadList();
|
||||
});
|
||||
oml.reloadLists();
|
||||
} else {
|
||||
oml.UI.set({find: Ox.clone($filter.options('value'), true)});
|
||||
oml.$ui.findElement.updateElement();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue