mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
fix for when the login window hasn't been rendered
This commit is contained in:
parent
6b8ff92fe2
commit
7f597aff70
1 changed files with 1 additions and 2 deletions
|
@ -101,8 +101,6 @@ Copyright:
|
|||
success: function(result) {
|
||||
if (result) {
|
||||
Deluge.Events.fire('login');
|
||||
this.loginForm.items.get('password').setRawValue('');
|
||||
this.hide();
|
||||
} else {
|
||||
this.show(true);
|
||||
}
|
||||
|
@ -164,6 +162,7 @@ Copyright:
|
|||
onShow: function() {
|
||||
var passwordField = this.loginForm.items.get('password');
|
||||
passwordField.focus(false, 150);
|
||||
passwordField.setRawValue('');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue