only reload filters if not collapsed
This commit is contained in:
parent
b0dcfc35ab
commit
5860bc0e72
2 changed files with 11 additions and 7 deletions
|
@ -746,9 +746,11 @@ oml.ui.infoView = function(externalData, isMixed) {
|
|||
if (Ox.contains(['title', 'author', 'description'], key)) {
|
||||
oml.$ui.info.updateElement();
|
||||
}
|
||||
if (ui.showFilters) {
|
||||
oml.$ui.filters.forEach(function($filter) {
|
||||
$filter.reloadList();
|
||||
$filter.reloadList(true);
|
||||
});
|
||||
}
|
||||
oml.$ui.list.value(
|
||||
result.data.id, key, result.data[key]
|
||||
);
|
||||
|
|
|
@ -903,11 +903,13 @@ oml.openLink = function(url) {
|
|||
|
||||
oml.reloadLists = function() {
|
||||
Ox.Request.clearCache('find');
|
||||
if (oml.user.ui.showFilters) {
|
||||
oml.$ui.filters.forEach(function($filter) {
|
||||
$filter.reloadList();
|
||||
$filter.reloadList(true);
|
||||
});
|
||||
}
|
||||
oml.$ui.list.reloadList(true);
|
||||
oml.$ui.browser.reloadList();
|
||||
oml.$ui.browser.reloadList(true);
|
||||
};
|
||||
|
||||
oml.renameUser = function(data) {
|
||||
|
|
Loading…
Reference in a new issue