commit:8f635fec79961b4aaabaab184e9576c5b97122af
author:Chip Black
committer:Chip Black
date:Tue Jun 17 22:04:57 2014 -0500
parents:ec5e57cc0f39e47903322f3259b2f28b982e0d15
Blur login field after login
diff --git a/www/jssrc/blerg/Controls.js b/www/jssrc/blerg/Controls.js
line changes: +2/-0
index 21d4a59..0827ff7
--- a/www/jssrc/blerg/Controls.js
+++ b/www/jssrc/blerg/Controls.js
@@ -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);