mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
give focus back to the password field after the messagebox is closed
This commit is contained in:
parent
23ec87724e
commit
9d8a104264
1 changed files with 4 additions and 1 deletions
|
@ -94,11 +94,14 @@ Copyright:
|
|||
msg: _('You entered an incorrect password'),
|
||||
buttons: Ext.MessageBox.OK,
|
||||
modal: false,
|
||||
fn: function() {
|
||||
passwordField.focus();
|
||||
},
|
||||
icon: Ext.MessageBox.WARNING,
|
||||
iconCls: 'x-deluge-icon-warning'
|
||||
});
|
||||
}
|
||||
}.bindWithEvent(this)
|
||||
}.bindWithEvent(this);
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue