diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-09 17:38:09 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-09 17:38:09 -0400 |
commit | fbfcfee331d768c20e86585c644628b1bf3f14b7 (patch) | |
tree | 89df9acfa281809106bc58f5cc0282fc893988ba /views/default/forms/register.php | |
parent | 79cf12c11e6e16e59be8d485ff26714b5c6fb55d (diff) | |
download | elgg-fbfcfee331d768c20e86585c644628b1bf3f14b7.tar.gz elgg-fbfcfee331d768c20e86585c644628b1bf3f14b7.tar.bz2 |
Fixes #3673 added autofocus class
Diffstat (limited to 'views/default/forms/register.php')
-rw-r--r-- | views/default/forms/register.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/views/default/forms/register.php b/views/default/forms/register.php index 6e18cd53d..411152205 100644 --- a/views/default/forms/register.php +++ b/views/default/forms/register.php @@ -23,6 +23,7 @@ if (elgg_is_sticky_form('register')) { echo elgg_view('input/text', array( 'name' => 'name', 'value' => $name, + 'class' => 'elgg-autofocus', )); ?> </div> @@ -75,9 +76,3 @@ echo elgg_view('input/hidden', array('name' => 'friend_guid', 'value' => $vars[' echo elgg_view('input/hidden', array('name' => 'invitecode', 'value' => $vars['invitecode'])); echo elgg_view('input/submit', array('name' => 'submit', 'value' => elgg_echo('register'))); echo '</div>'; -?> -<script type="text/javascript"> - $(function() { - $('input[name=name]').focus(); - }); -</script>
\ No newline at end of file |