mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-10 02:18:41 +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'),
|
msg: _('You entered an incorrect password'),
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
modal: false,
|
modal: false,
|
||||||
|
fn: function() {
|
||||||
|
passwordField.focus();
|
||||||
|
},
|
||||||
icon: Ext.MessageBox.WARNING,
|
icon: Ext.MessageBox.WARNING,
|
||||||
iconCls: 'x-deluge-icon-warning'
|
iconCls: 'x-deluge-icon-warning'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}.bindWithEvent(this)
|
}.bindWithEvent(this);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue