update info view when switching icons
This commit is contained in:
parent
a6e08314ac
commit
4e1b6179dc
2 changed files with 174 additions and 137 deletions
|
|
@ -186,13 +186,16 @@ pandora.ui.mainMenu = function() {
|
|||
var $list;
|
||||
pandora.UI.set({icons: value});
|
||||
if (pandora.user.ui.item) {
|
||||
if (pandora.user.ui.itemView == 'info') {
|
||||
pandora.$ui.item.reload();
|
||||
}
|
||||
$list = pandora.$ui.browser;
|
||||
} else if (pandora.user.ui.lists[pandora.user.ui.list].listView == 'icons') {
|
||||
$list = pandora.$ui.list
|
||||
}
|
||||
$list && $list.options({
|
||||
defaultRatio: value == 'posters' ? 5/8 : 1
|
||||
}).reloadList();
|
||||
}).reloadList(true);
|
||||
} else if (data.id == 'viewmovies') {
|
||||
url('#view=' + value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue