use getListData in home.js
This commit is contained in:
parent
a8b0ae3da2
commit
cf9722700f
1 changed files with 2 additions and 5 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue