use getListData in home.js

This commit is contained in:
rolux 2011-09-17 13:30:46 +00:00
parent a8b0ae3da2
commit cf9722700f

View file

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