From: friendica Date: Wed, 28 Mar 2012 07:44:45 +0000 (-0700) Subject: support autocomplete @-tags in plaintext mode X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7fc57f486fb91da67c190ef8563d872a3570ded6;p=friendica.git support autocomplete @-tags in plaintext mode --- diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 974e02ab4c..99e3aa0ec5 100755 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -11,6 +11,7 @@ function initEditor(cb){ if(plaintext == 'none') { $("#profile-jot-text-loading").hide(); $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); + $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; $("a#jot-perms-icon").fancybox({ 'transitionIn' : 'elastic', diff --git a/view/msg-header.tpl b/view/msg-header.tpl index 49ee5905b8..2d1ea7a612 100755 --- a/view/msg-header.tpl +++ b/view/msg-header.tpl @@ -41,6 +41,9 @@ if(plaintext != 'none') { } }); } +else + $("#prvmail-text").contact_autocomplete(baseurl+"/acl"); +