Blur login field after login
[blerg.git] / www / jssrc / blerg / Controls.js
index 21d4a59..0827ff7 100644 (file)
@@ -88,6 +88,8 @@ enyo.kind({
     },
     login: function(inSender, inEvent) {
         this.$.password.setValue('');
+        // TODO: Replace with regular blur() call in future enyo
+        this.$.password.node.blur();
         this.setLoggedIn(true);
         this.$.userlink.setAttribute('href', '/#' + inEvent.username);
         this.$.userlink.setContent('@' + inEvent.username);