give focus back to the password field after the messagebox is closed
This commit is contained in:
parent
23ec87724e
commit
9d8a104264
|
@ -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…
Reference in New Issue