diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-11 23:09:33 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-11 23:09:33 +0000 |
commit | 767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21 (patch) | |
tree | e3229ba658fbc5f38c73b20e9fc43cdb5085451c /views/default/forms | |
parent | 891739afadddad56b517b7d565458296eeb58c0b (diff) | |
download | elgg-767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21.tar.gz elgg-767d259bb89a337ec57abeeb8c3ac5c5fc3e9d21.tar.bz2 |
Added disapproving @todo's wherever I could find javascript not conforming to 1.8 conventions
git-svn-id: http://code.elgg.org/elgg/trunk@8123 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms')
-rw-r--r-- | views/default/forms/avatar/crop.php | 4 | ||||
-rw-r--r-- | views/default/forms/register.php | 2 | ||||
-rw-r--r-- | views/default/forms/user/requestnewpassword.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/views/default/forms/avatar/crop.php b/views/default/forms/avatar/crop.php index 856546020..cceb42e44 100644 --- a/views/default/forms/avatar/crop.php +++ b/views/default/forms/avatar/crop.php @@ -26,7 +26,7 @@ echo elgg_view('input/submit', array('value' => elgg_echo('avatar:create'))); ?> <!-- grab the required js for icon cropping --> <script type="text/javascript" src="<?php echo elgg_get_site_url(); ?>vendors/jquery/jquery.imgareaselect-0.8.min.js"></script> - +<?php //@todo JS 1.8: no ?> <script type="text/javascript"> // display a preview of the users cropped section @@ -58,7 +58,7 @@ echo elgg_view('input/submit', array('value' => elgg_echo('avatar:create'))); $(document).ready(function() { $('<div id="user-avatar-preview"><img src="<?php echo $master_image; ?>" /></div>').insertAfter($('#user-avatar')); - $('<div id="user-avatar-preview-title"><label><?php echo elgg_echo('avatar:preview'); ?></label></div>').insertBefore($('#user-avatar-preview')); + $('<div id="user-avatar-preview-title"><label><?php echo elgg_echo('avatar:preview'); ?></label></div>').insertBefore($('#user-avatar-preview')); // this produces the coordinates $('#user-avatar').imgAreaSelect({ selectionOpacity: 0, onSelectEnd: selectChange }); diff --git a/views/default/forms/register.php b/views/default/forms/register.php index b2f4d14f7..c2a23ad8c 100644 --- a/views/default/forms/register.php +++ b/views/default/forms/register.php @@ -57,7 +57,7 @@ echo elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => echo elgg_view('input/hidden', array('internalname' => 'invitecode', 'value' => $vars['invitecode'])); echo elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))); ?> - +<?php //@todo JS 1.8: no ?> <script type="text/javascript"> $(document).ready(function() { $('input[name=name]').focus(); diff --git a/views/default/forms/user/requestnewpassword.php b/views/default/forms/user/requestnewpassword.php index a235f2cc6..d3823f22b 100644 --- a/views/default/forms/user/requestnewpassword.php +++ b/views/default/forms/user/requestnewpassword.php @@ -18,7 +18,7 @@ <p> <?php echo elgg_view('input/submit', array('value' => elgg_echo('request'))); ?> </p> - +<?php //@todo JS 1.8: no ?> <script type="text/javascript"> $(document).ready(function() { $('input[name=username]').focus(); |