fix section lookup

This commit is contained in:
j 2018-03-07 13:24:24 +05:30
parent 4dbc7930b4
commit 799cad08b1

View file

@ -2,7 +2,7 @@
'use strict'; 'use strict';
pandora.ui.folderList = function(id, section) { pandora.ui.folderList = function(id, section) {
section = section || pandora.user.section; section = section || pandora.user.ui.section;
var ui = pandora.user.ui, var ui = pandora.user.ui,
i = Ox.getIndexById(pandora.site.sectionFolders[section], id), i = Ox.getIndexById(pandora.site.sectionFolders[section], id),
folderItems = pandora.getFolderItems(section), folderItems = pandora.getFolderItems(section),