use getListData in home.js

This commit is contained in:
rolux 2011-09-17 13:30:46 +00:00
parent a8b0ae3da2
commit cf9722700f
1 changed files with 2 additions and 5 deletions

View File

@ -110,11 +110,8 @@ pandora.ui.home = function() {
})
.bindEvent({
click: function() {
if (pandora.user.ui.list) {
Ox.forEach(pandora.$ui.folderList, function($list) {
$list.options({selected: []});
});
}
var folder = pandora.getListData().folder;
folder && pandora.$ui.folderList[folder].options({selected: []});
pandora.URL.set('/?find=' + $findInput.value());
that.fadeOutScreen();
}