]> git.mxchange.org Git - friendica.git/commitdiff
make@ tag completion work on /display page
authorFriendika <info@friendika.com>
Thu, 3 Nov 2011 03:38:19 +0000 (20:38 -0700)
committerFriendika <info@friendika.com>
Thu, 3 Nov 2011 03:38:19 +0000 (20:38 -0700)
mod/display.php

index 281ce1dd414140d5d4cb3402df8c30d6f4b912ca..761eb49975ffcaa6ec61f9d31bdcc4223d2417a1 100644 (file)
@@ -15,6 +15,9 @@ 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>';
+
+
        $nick = (($a->argc > 1) ? $a->argv[1] : '');
        profile_load($a,$nick);