diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-03-16 21:20:23 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-03-16 21:20:23 -0400 |
commit | 49540fb958376d067f44a9274f8edeb80f10da3a (patch) | |
tree | 348c704819250e1433f97afb03b3239b353b7dce /mod | |
parent | 030c8a089a7b5757d8ec2faf61d1021138eb9de4 (diff) | |
download | volse-hubzilla-49540fb958376d067f44a9274f8edeb80f10da3a.tar.gz volse-hubzilla-49540fb958376d067f44a9274f8edeb80f10da3a.tar.bz2 volse-hubzilla-49540fb958376d067f44a9274f8edeb80f10da3a.zip |
make auto-complete work in more places
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/display.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php index f428149e8..81ed174ac 100755 --- a/mod/display.php +++ b/mod/display.php @@ -16,7 +16,15 @@ function display_content(&$a) { $o = '<div id="live-display"></div>' . "\r\n"; - $a->page['htmlhead'] .= '<script>$(document).ready(function() { $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl"); });</script>'; + $a->page['htmlhead'] .= <<<EOT +<script> +$(document).ready(function() { + $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl"); + // make auto-complete work in more places + $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl"); +}); +</script> +EOT; $nick = (($a->argc > 1) ? $a->argv[1] : ''); |