forked from 0x2620/pandora
infoView should gain focus on mousedown, fixes #2491
This commit is contained in:
parent
87709f7808
commit
f984748ffe
4 changed files with 12 additions and 0 deletions
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue