Fixed password field in HTML login not being focused during >USER_LEVEL_MEMBER auth
authorDan Fuhry <dan@enanocms.org>
Tue, 21 Sep 2010 14:14:55 -0400
changeset 1303 ed0bd14b6223
parent 1301 bd9e124f5904
child 1304 0470b3176781
Fixed password field in HTML login not being focused during >USER_LEVEL_MEMBER auth
plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php	Sun Sep 05 16:05:33 2010 -0400
+++ b/plugins/SpecialUserFuncs.php	Tue Sep 21 14:14:55 2010 -0400
@@ -284,7 +284,7 @@
 			</script>
 			<?php else: ?>
 			<script type="text/javascript">
-				document.forms.loginform.pass.focus();
+				document.forms.loginform.password.focus();
 			</script>
 			<?php endif; ?>
 			<?php