diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-08 14:31:42 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-08 14:31:42 -0500 |
commit | 229a0cc6091e11ca8431d96d022898b778a9e951 (patch) | |
tree | 009314a54531ef4fc93db4625fb902f2c1373289 /mod/messages/views/default | |
parent | cfcf985b803e2ce4187d1dad30905a30e4c937b8 (diff) | |
download | elgg-229a0cc6091e11ca8431d96d022898b778a9e951.tar.gz elgg-229a0cc6091e11ca8431d96d022898b778a9e951.tar.bz2 |
updated the messages plugin to use 1.8's JS hook system
Diffstat (limited to 'mod/messages/views/default')
-rw-r--r-- | mod/messages/views/default/messages/js.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/messages/views/default/messages/js.php b/mod/messages/views/default/messages/js.php index 39f93e645..60cf36b92 100644 --- a/mod/messages/views/default/messages/js.php +++ b/mod/messages/views/default/messages/js.php @@ -1,5 +1,6 @@ -$(function() { +// messages plugin toggle +elgg.register_hook_handler('init', 'system', function() { $("#messages-toggle").click(function() { $('input[type=checkbox]').click(); }); |