From 0d7628468451d464e25d81c19d3adf1f9b2d7423 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 31 Jan 2019 11:28:25 +0530 Subject: [PATCH] fix reset UI --- config.json | 4 +++- static/js/UI.js | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.json b/config.json index 0f4e28e..d32e59e 100644 --- a/config.json +++ b/config.json @@ -361,7 +361,9 @@ "showAnnotations": false, "showBrowser": true, "showDebugMenu": false, - "showFolder": {}, + "showFolder": { + "": true + }, "showFilters": true, "showIconInfo": true, "showInfo": true, diff --git a/static/js/UI.js b/static/js/UI.js index 82e3386..47409d6 100644 --- a/static/js/UI.js +++ b/static/js/UI.js @@ -17,7 +17,8 @@ oml.UI = (function() { var ui = oml.user.ui; function reload() { - ui = oml.config.user.ui; + Ox.Request.clearCache() + oml.user.ui = ui = oml.config.user.ui; ui._list = oml.getListState(ui.find); ui._filterState = oml.getFilterState(ui.find); ui._findState = oml.getFindState(ui.find);