hookup stills

This commit is contained in:
j 2011-08-04 16:49:16 +02:00
parent 14bbd874f2
commit 2afc2ec733
2 changed files with 5 additions and 2 deletions

View file

@ -134,7 +134,7 @@ pandora.ui.mainMenu = function() {
{ id: 'titles', title: 'Manage Titles...' }, { id: 'titles', title: 'Manage Titles...' },
{ id: 'names', title: 'Manage Names...' }, { id: 'names', title: 'Manage Names...' },
{}, {},
{ id: 'posters', title: 'Manage Stills...' }, { id: 'stills', title: 'Manage Stills...' },
{ id: 'posters', title: 'Manage Posters...' }, { id: 'posters', title: 'Manage Posters...' },
{}, {},
{ id: 'places', title: 'Manage Places...' }, { id: 'places', title: 'Manage Places...' },
@ -405,6 +405,9 @@ pandora.ui.mainMenu = function() {
} else if (data.id == 'loginlogout') { } else if (data.id == 'loginlogout') {
pandora.$ui.accountDialog = (pandora.user.level == 'guest' ? pandora.$ui.accountDialog = (pandora.user.level == 'guest' ?
pandora.ui.accountDialog('login') : pandora.ui.accountLogoutDialog()).open(); pandora.ui.accountDialog('login') : pandora.ui.accountLogoutDialog()).open();
} else if (data.id == 'stills') {
var id = pandora.user.ui.item || pandora.user.ui.listItem;
pandora.$ui.postersDialog = pandora.ui.framesDialog(id).open();
} else if (data.id == 'posters') { } else if (data.id == 'posters') {
var id = pandora.user.ui.item || pandora.user.ui.listItem; var id = pandora.user.ui.item || pandora.user.ui.listItem;
pandora.$ui.postersDialog = pandora.ui.postersDialog(id).open(); pandora.$ui.postersDialog = pandora.ui.postersDialog(id).open();

View file

@ -106,4 +106,4 @@ pandora.ui.postersDialog = function(id) {
return that; return that;
} };