Author: damoxc
Revision: 5062
Log:
give focus back to the password field after the messagebox is closed
Diff:
Modified: trunk/deluge/ui/web/js/deluge-login.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-login.js 2009-04-14 21:50:58 UTC (rev
5061)
+++ trunk/deluge/ui/web/js/deluge-login.js 2009-04-16 18:17:33 UTC (rev
5062)
@@ -94,11 +94,14 @@
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);
});
},
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---