From 955d0f1f2a6bec33b3e22fbf8281a3883322159a Mon Sep 17 00:00:00 2001 From: j Date: Thu, 5 Dec 2019 00:10:34 +0000 Subject: [PATCH] fix document folder reload --- static/js/utils.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 52cef4e8..3d7e4d9e 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -2706,7 +2706,11 @@ pandora.reloadList = function() { Ox.Log('', 'reloadList') var listData = pandora.getListData(); 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) { $filter.reloadList(); });