forked from 0x2620/pandora
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({
|
||||
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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue