allow for ctrl+n in list folders, and alt+ctrl+n in the personal lists folder; plus cover various corner cases regarding the selected list when switching between list folders and list browsers

This commit is contained in:
rlx 2011-09-04 16:08:28 +00:00
commit c5c608e513
4 changed files with 99 additions and 14 deletions

View file

@ -141,8 +141,7 @@ pandora.ui.folderBrowserList = function(id) {
}), callback);
},
pageLength: 1000,
// fixme: select if previously selected
// selected: pandora.user.ui.list ? [pandora.user.ui.list] : [],
selected: pandora.getListData().folder == id ? [pandora.user.ui.list] : [],
sort: [
{key: 'name', operator: '+'}
]