From: Simon L'nu Date: Sat, 17 Mar 2012 01:20:23 +0000 (-0400) Subject: make auto-complete work in more places X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=49540fb958376d067f44a9274f8edeb80f10da3a;p=friendica.git make auto-complete work in more places Signed-off-by: Simon L'nu --- diff --git a/mod/display.php b/mod/display.php index f428149e83..81ed174acc 100755 --- a/mod/display.php +++ b/mod/display.php @@ -16,7 +16,15 @@ function display_content(&$a) { $o = '
' . "\r\n"; - $a->page['htmlhead'] .= ''; + $a->page['htmlhead'] .= << +$(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"); +}); + +EOT; $nick = (($a->argc > 1) ? $a->argv[1] : '');