fix URL controller

This commit is contained in:
rolux 2013-02-18 16:03:11 +05:30
parent aa76e1d4a2
commit 5bfcf51a1f

View file

@ -78,11 +78,11 @@ pandora.URL = (function() {
} else { } else {
var set = { var set = {page: ''};
section: state.type == pandora.site.itemsSection ? 'items' : state.type, if (state.type) {
page: '' set.section = state.type == pandora.site.itemsSection ? 'items' : state.type
}; set[set.section.slice(0, -1)] = state.item;
set[set.section.slice(0, -1)] = state.item; }
if (set.section == 'items') { if (set.section == 'items') {
if (state.view) { if (state.view) {