infoView should gain focus on mousedown, fixes #2491

This commit is contained in:
j 2014-09-24 22:54:45 +02:00
parent 87709f7808
commit f984748ffe
4 changed files with 12 additions and 0 deletions

View file

@ -1155,6 +1155,9 @@ pandora.ui.infoView = function(data) {
}; };
that.bindEvent({ that.bindEvent({
mousedown: function() {
that.gainFocus()
},
pandora_icons: that.reload, pandora_icons: that.reload,
pandora_showsiteposters: function() { pandora_showsiteposters: function() {
ui.icons == 'posters' && that.reload(); ui.icons == 'posters' && that.reload();

View file

@ -1054,6 +1054,9 @@ pandora.ui.infoView = function(data) {
}; };
that.bindEvent({ that.bindEvent({
mousedown: function() {
that.gainFocus()
},
pandora_icons: that.reload, pandora_icons: that.reload,
pandora_showsiteposters: function() { pandora_showsiteposters: function() {
ui.icons == 'posters' && that.reload(); ui.icons == 'posters' && that.reload();

View file

@ -633,6 +633,9 @@ pandora.ui.infoView = function(data) {
}; };
that.bindEvent({ that.bindEvent({
mousedown: function() {
that.gainFocus()
},
pandora_icons: that.reload, pandora_icons: that.reload,
pandora_showsiteposters: function() { pandora_showsiteposters: function() {
ui.icons == 'posters' && that.reload(); ui.icons == 'posters' && that.reload();

View file

@ -784,6 +784,9 @@ pandora.ui.infoView = function(data) {
}; };
that.bindEvent({ that.bindEvent({
mousedown: function() {
that.gainFocus()
},
pandora_icons: that.reload, pandora_icons: that.reload,
pandora_showsiteposters: function() { pandora_showsiteposters: function() {
ui.icons == 'posters' && that.reload(); ui.icons == 'posters' && that.reload();