Blur username/password on submit.
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Mon, 9 Apr 2012 22:35:46 +0000 (15:35 -0700)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Mon, 9 Apr 2012 22:35:46 +0000 (15:35 -0700)
src/main/webapp/index.xhtml

index bc25312..68926d9 100644 (file)
                     if (xhr.status != 200)
                         throw new Error("Invalid login");
 
+                    // Ensure username/password fiels are blurred after submit
+                    username.blur();
+                    password.blur();
+
                     resetUI();
 
                 }