Author: damoxc
Revision: 6115
Log:
fix logging in
Diff:
Modified: trunk/deluge/ui/web/js/Deluge.Login.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.Login.js 2010-01-23 15:31:17 UTC (rev
6114)
+++ trunk/deluge/ui/web/js/Deluge.Login.js 2010-01-23 15:34:32 UTC (rev
6115)
@@ -117,7 +117,7 @@
},
onLogin: function() {
- var passwordField = this.loginForm.items.get('password');
+ var passwordField = this.passwordField;
Deluge.Client.auth.login(passwordField.getValue(), {
success: function(result) {
if (result) {
@@ -150,9 +150,8 @@
},
onShow: function() {
- var passwordField = this.loginForm.items.get('password');
- passwordField.focus(false, 150);
- passwordField.setRawValue('');
+ this.passwordField.focus(false, 150);
+ this.passwordField.setRawValue('');
}
});
--
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en.