forked from 0x2620/pandora
fix document folder reload
This commit is contained in:
parent
a57f68f3c2
commit
955d0f1f2a
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue