diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-09-03 19:42:50 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-09-03 19:42:50 +0000 |
commit | 277b464054b24f8d680ddbe762c9e438f6679592 (patch) | |
tree | c56e63d8177082385355af38c418813ee2595157 /actions/avatarsettings.php | |
parent | 0c95734a6874608ea5ed44608cabeda7c3a1b4ea (diff) |
Created autofocus method to give focus to an element (primarily a form
control) on page onload.
Updated some of the pages to use autofocus.
Diffstat (limited to 'actions/avatarsettings.php')
-rw-r--r-- | actions/avatarsettings.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/avatarsettings.php b/actions/avatarsettings.php index 0bc439ff1..02a684b38 100644 --- a/actions/avatarsettings.php +++ b/actions/avatarsettings.php @@ -399,5 +399,7 @@ class AvatarsettingsAction extends AccountSettingsAction $this->script('js/jcrop/jquery.Jcrop.min.js'); $this->script('js/jcrop/jquery.Jcrop.go.js'); } + + $this->autofocus('avatarfile'); } } |