fix reset UI

This commit is contained in:
j 2019-01-31 11:28:25 +05:30
parent aaa9a4a538
commit 0d76284684
2 changed files with 5 additions and 2 deletions

View file

@ -361,7 +361,9 @@
"showAnnotations": false, "showAnnotations": false,
"showBrowser": true, "showBrowser": true,
"showDebugMenu": false, "showDebugMenu": false,
"showFolder": {}, "showFolder": {
"": true
},
"showFilters": true, "showFilters": true,
"showIconInfo": true, "showIconInfo": true,
"showInfo": true, "showInfo": true,

View file

@ -17,7 +17,8 @@ oml.UI = (function() {
var ui = oml.user.ui; var ui = oml.user.ui;
function reload() { 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._list = oml.getListState(ui.find);
ui._filterState = oml.getFilterState(ui.find); ui._filterState = oml.getFilterState(ui.find);
ui._findState = oml.getFindState(ui.find); ui._findState = oml.getFindState(ui.find);