From 8163f071a3a0663c2b1e42c00020d76a5fc3adbd Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 4 Mar 2013 11:20:55 +0000 Subject: [PATCH] some reformatting --- static/js/pandora/URL.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index 1125a77a8..c2970a0ef 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -129,6 +129,7 @@ pandora.URL = (function() { } if (set.section == 'items') { + if (state.view) { set[!state.item ? 'listView' : 'itemView'] = state.view; } @@ -289,21 +290,20 @@ pandora.URL = (function() { calendar: 'date' } }; - //Text + + // Texts views['texts'] = { list: [], item: ['text'] - } + }; spanType['texts'] = { list: [], - item: { - 'text': 'number' - } - } + item: {text: 'number'} + }; sortKeys['texts'] = { list: {}, item: {} - } + }; findKeys = [{id: 'list', type: 'string'}].concat(pandora.site.itemKeys);