fix document folder reload

This commit is contained in:
j 2019-12-05 00:10:34 +00:00
parent a57f68f3c2
commit 955d0f1f2a

View file

@ -2706,7 +2706,11 @@ pandora.reloadList = function() {
Ox.Log('', 'reloadList') Ox.Log('', 'reloadList')
var listData = pandora.getListData(); var listData = pandora.getListData();
Ox.Request.clearCache(); // fixme: remove Ox.Request.clearCache(); // fixme: remove
if (pandora.$ui.filters) { if (pandora.user.ui.section == 'documents' && pandora.$ui.documentFilters) {
pandora.$ui.documentFilters.forEach(function($filter) {
$filter.reloadList();
});
} else if (pandora.$ui.filters) {
pandora.$ui.filters.forEach(function($filter) { pandora.$ui.filters.forEach(function($filter) {
$filter.reloadList(); $filter.reloadList();
}); });