forked from 0x2620/pandora
add comment and fixme
This commit is contained in:
parent
c8413345b9
commit
36b93c07c1
2 changed files with 3 additions and 1 deletions
|
@ -159,6 +159,7 @@ pandora.ui.folderBrowserList = function(id, section) {
|
|||
.bindEvent({
|
||||
click: function(data) {
|
||||
if (data.key == 'type') {
|
||||
// FIXME: Why is this commented out?
|
||||
/*
|
||||
if (that.value(data.id, 'type') == 'smart') {
|
||||
pandora.$ui.filterDialog = pandora.ui.filterDialog(that.value(data.id, 'query')).open();
|
||||
|
@ -178,7 +179,7 @@ pandora.ui.folderBrowserList = function(id, section) {
|
|||
}, function(result) {
|
||||
Ox.Log('', 'result', result)
|
||||
if (result.data.user == pandora.user.username || result.data.subscribed) {
|
||||
Ox.Request.clearCache(); // fixme: removen
|
||||
Ox.Request.clearCache(); // fixme: remove
|
||||
pandora.$ui.folderList[
|
||||
result.data.user == pandora.user.username ? 'personal' : 'favorite'
|
||||
].reloadList();
|
||||
|
|
|
@ -264,6 +264,7 @@ pandora.ui.folderList = function(id, section) {
|
|||
max: 1,
|
||||
min: 0,
|
||||
pageLength: 1000,
|
||||
// won't work, getListData looks up data in $folderList
|
||||
//selected: pandora.getListData().folder == id ? [ui._list] : [],
|
||||
sort: [{key: 'position', operator: '+'}],
|
||||
sortable: id != 'featured' || canEditFeatured,
|
||||
|
|
Loading…
Reference in a new issue