cosmetic changes

This commit is contained in:
rolux 2013-08-11 07:31:29 +00:00
parent 6e3479d7a7
commit d474bdbee8

View file

@ -1284,10 +1284,11 @@ pandora.getLargeEditTimelineURL = function(edit, type, i, callback) {
pandora.getListData = function(list) { pandora.getListData = function(list) {
var data = {}, folder; var data = {}, folder;
if (pandora.user.ui.section == 'items') { if (Ox.isUndefined(list)) {
list = Ox.isUndefined(list) ? pandora.user.ui._list : list; list = pandora.user.ui[
} else { pandora.user.ui.section == 'items' ? '_list'
list = Ox.isUndefined(list) ? pandora.user.ui[pandora.user.ui.section.slice(0, -1)] : list; : pandora.user.ui.section.slice(0, -1)
];
} }
if (list && pandora.$ui.folderList) { if (list && pandora.$ui.folderList) {
Ox.forEach(pandora.$ui.folderList, function($list, id) { Ox.forEach(pandora.$ui.folderList, function($list, id) {