diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-14 23:54:38 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-14 23:54:38 +0000 |
commit | 1e94b4e29b3d4989eff8d5344bf3415b3fb44b94 (patch) | |
tree | fe807ae882366a5f20a831c12ec88b6a8131a18b /mod/groups/views | |
parent | caf11e94744c49e1b1533b45f0a44d0aa97704df (diff) | |
download | elgg-1e94b4e29b3d4989eff8d5344bf3415b3fb44b94.tar.gz elgg-1e94b4e29b3d4989eff8d5344bf3415b3fb44b94.tar.bz2 |
Refs #3016: Removes inline javascript from embed, file, groups, messages, profile, thewire
git-svn-id: http://code.elgg.org/elgg/trunk@8711 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r-- | mod/groups/views/default/groups/js.php | 3 | ||||
-rw-r--r-- | mod/groups/views/default/groups/profile/widgets.php | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/mod/groups/views/default/groups/js.php b/mod/groups/views/default/groups/js.php new file mode 100644 index 000000000..df74d52ee --- /dev/null +++ b/mod/groups/views/default/groups/js.php @@ -0,0 +1,3 @@ +$(function() { + $('#groups-tools').find('.elgg-module:odd').addClass('odd'); +});
\ No newline at end of file diff --git a/mod/groups/views/default/groups/profile/widgets.php b/mod/groups/views/default/groups/profile/widgets.php index 027503560..28e43fdc4 100644 --- a/mod/groups/views/default/groups/profile/widgets.php +++ b/mod/groups/views/default/groups/profile/widgets.php @@ -12,11 +12,4 @@ echo '<div id="groups-tools" class="mtl clearfix">'; echo elgg_view("groups/tool_latest", array('entity' => $vars['entity'])); echo "</div>"; -?> -<?php //@todo JS 1.8: no ?> -<script type="text/javascript"> -$(function () { // subclass every other group tool widget - $('#groups-tools').find('.elgg-module:odd').addClass('odd'); -}); -</script> |