give focus back to the password field after the messagebox is closed

This commit is contained in:
Damien Churchill 2009-04-16 18:17:33 +00:00
parent 23ec87724e
commit 9d8a104264
1 changed files with 4 additions and 1 deletions

View File

@ -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);
});
},