Blur login field after login
authorChip Black <bytex64@bytex64.net>
Wed, 18 Jun 2014 03:04:57 +0000 (22:04 -0500)
committerChip Black <bytex64@bytex64.net>
Wed, 18 Jun 2014 03:07:12 +0000 (22:07 -0500)
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);