aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/bookmarks/views/default/bookmarks/js.php3
-rw-r--r--mod/groups/views/default/groups/js.php3
-rw-r--r--mod/messageboard/views/default/messageboard/js.php4
-rw-r--r--mod/messages/views/default/messages/js.php3
-rw-r--r--mod/uservalidationbyemail/views/default/uservalidationbyemail/js.php3
5 files changed, 10 insertions, 6 deletions
diff --git a/mod/bookmarks/views/default/bookmarks/js.php b/mod/bookmarks/views/default/bookmarks/js.php
index b2fcd88bd..0e55c510a 100644
--- a/mod/bookmarks/views/default/bookmarks/js.php
+++ b/mod/bookmarks/views/default/bookmarks/js.php
@@ -1,3 +1,4 @@
+
elgg.provide('elgg.bookmarks');
elgg.bookmarks.init = function() {
@@ -8,4 +9,4 @@ elgg.bookmarks.init = function() {
e.attr('href', link);
}
-elgg.register_hook_handler('init', 'system', elgg.bookmarks.init); \ No newline at end of file
+elgg.register_hook_handler('init', 'system', elgg.bookmarks.init);
diff --git a/mod/groups/views/default/groups/js.php b/mod/groups/views/default/groups/js.php
index df74d52ee..dec31cf54 100644
--- a/mod/groups/views/default/groups/js.php
+++ b/mod/groups/views/default/groups/js.php
@@ -1,3 +1,4 @@
+
$(function() {
$('#groups-tools').find('.elgg-module:odd').addClass('odd');
-}); \ No newline at end of file
+});
diff --git a/mod/messageboard/views/default/messageboard/js.php b/mod/messageboard/views/default/messageboard/js.php
index b7da18a56..131c96c8a 100644
--- a/mod/messageboard/views/default/messageboard/js.php
+++ b/mod/messageboard/views/default/messageboard/js.php
@@ -1,3 +1,4 @@
+
elgg.provide('elgg.messageboard');
elgg.messageboard.init = function() {
@@ -49,5 +50,4 @@ elgg.messageboard.deletePost = function(e) {
e.preventDefault();
}
-
-elgg.register_hook_handler('init', 'system', elgg.messageboard.init); \ No newline at end of file
+elgg.register_hook_handler('init', 'system', elgg.messageboard.init);
diff --git a/mod/messages/views/default/messages/js.php b/mod/messages/views/default/messages/js.php
index 7ae5f8a08..5f6b476e7 100644
--- a/mod/messages/views/default/messages/js.php
+++ b/mod/messages/views/default/messages/js.php
@@ -1,3 +1,4 @@
+
$(function() {
$("#messages-toggle").click(function() {
$('input[type=checkbox]').click();
@@ -6,4 +7,4 @@ $(function() {
$("#messages-show-reply").click(function() {
$('#messages-reply-form').slideToggle('medium');
});
-}); \ No newline at end of file
+});
diff --git a/mod/uservalidationbyemail/views/default/uservalidationbyemail/js.php b/mod/uservalidationbyemail/views/default/uservalidationbyemail/js.php
index 29ef2024d..e475bd52f 100644
--- a/mod/uservalidationbyemail/views/default/uservalidationbyemail/js.php
+++ b/mod/uservalidationbyemail/views/default/uservalidationbyemail/js.php
@@ -1,3 +1,4 @@
+
elgg.provide('elgg.uservalidationbyemail');
elgg.uservalidationbyemail.init = function() {
@@ -24,4 +25,4 @@ elgg.uservalidationbyemail.init = function() {
});
}
-elgg.register_hook_handler('init', 'system', elgg.uservalidationbyemail.init); \ No newline at end of file
+elgg.register_hook_handler('init', 'system', elgg.uservalidationbyemail.init);