diff --git a/static/js/folderBrowserList.js b/static/js/folderBrowserList.js index 01e4a3da..78e05d75 100644 --- a/static/js/folderBrowserList.js +++ b/static/js/folderBrowserList.js @@ -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(); diff --git a/static/js/folderList.js b/static/js/folderList.js index 9525b2da..c210bbdc 100644 --- a/static/js/folderList.js +++ b/static/js/folderList.js @@ -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,