make find all movies / find this list switch work

This commit is contained in:
rolux 2011-10-30 16:49:29 +00:00
commit ae28b99ae8
5 changed files with 27 additions and 39 deletions

View file

@ -308,8 +308,15 @@ pandora.ui.folders = function() {
}
});
}
that.toggle = function() {
};
that.bindEvent({
pandora_find: function() {
var previousUI = pandora.UI.getPrevious();
if (!pandora.user.ui._list && previousUI._list) {
Ox.forEach(pandora.$ui.folderList, function($list) {
$list.options({selected: []});
});
}
}
})
return that;
};