... and so the event is 'showsiteposters', not 'showsiteposter'

This commit is contained in:
rolux 2012-03-20 13:01:26 +01:00
parent e8e9458fce
commit 7bed142dae
4 changed files with 4 additions and 4 deletions

View file

@ -141,7 +141,7 @@ pandora.ui.browser = function() {
pandora_item: function(data) {
that.options({selected: [data.value]});
},
pandora_showsiteposter: function() {
pandora_showsiteposters: function() {
pandora.user.ui.icons == 'posters' && that.reloadList(true);
}
});

View file

@ -871,7 +871,7 @@ pandora.ui.infoView = function(data) {
that.bindEvent({
pandora_icons: that.reload,
pandora_showsiteposter: function() {
pandora_showsiteposters: function() {
ui.icons == 'posters' && that.reload();
}
});

View file

@ -743,7 +743,7 @@ pandora.ui.infoView = function(data) {
that.bindEvent({
pandora_icons: that.reload,
pandora_showsiteposter: function() {
pandora_showsiteposters: function() {
ui.icons == 'posters' && that.reload();
}
});

View file

@ -569,7 +569,7 @@ pandora.ui.list = function() {
that.reloadList(true);
}
},
pandora_showsiteposter: function() {
pandora_showsiteposters: function() {
// fixme: should be disabled if ui.icons != 'posters'
hasIcons() && pandora.user.ui.icons == 'posters' && that.reloadList(true);
}