aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-16 21:20:23 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-03-16 21:20:23 -0400
commit49540fb958376d067f44a9274f8edeb80f10da3a (patch)
tree348c704819250e1433f97afb03b3239b353b7dce /mod
parent030c8a089a7b5757d8ec2faf61d1021138eb9de4 (diff)
downloadvolse-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-xmod/display.php10
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] : '');