diff --git a/static/js/pandora/UI.js b/static/js/pandora/UI.js index a2b19a7e..d3c41dde 100644 --- a/static/js/pandora/UI.js +++ b/static/js/pandora/UI.js @@ -33,6 +33,7 @@ pandora.UI = (function() { } Ox.print('UI SET', args) self.previousUI = Ox.clone(pandora.user.ui, true); + self.previousUI._list = pandora.getListsState(self.previousUI.find); if ('find' in args) { // the challenge here is that find may change list, // and list may then change listSort and listView, @@ -101,7 +102,6 @@ pandora.UI = (function() { return key.replace(/\n/g, '.') }), ui = pandora.user.ui; - Ox.print(key, '......', keys) while (keys.length > 1) { ui = ui[keys.shift()]; } diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index 0dcb382d..30f3f4f3 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -5,7 +5,7 @@ pandora.URL = (function() { var self = {}, that = {}; function getState(keys) { - Ox.print('KEYS', keys) + Ox.print('GET STATE, UI', pandora.user.ui) var state = {}; /* if (keys.indexOf('type') > -1) {