]> git.mxchange.org Git - friendica.git/commitdiff
support autocomplete @-tags in plaintext mode
authorfriendica <info@friendica.com>
Wed, 28 Mar 2012 07:44:45 +0000 (00:44 -0700)
committerfriendica <info@friendica.com>
Wed, 28 Mar 2012 07:44:45 +0000 (00:44 -0700)
view/jot-header.tpl
view/msg-header.tpl

index 974e02ab4c543a4128b1a92da7b91d58c9a0efbd..99e3aa0ec5eba0a20144f1968d28925b2bbd60fe 100755 (executable)
@@ -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',
index 49ee5905b846bf5f6eafcc7d88363d9af05dc05e..2d1ea7a61275050aa29f0e899fa3d6846a505d9a 100755 (executable)
@@ -41,6 +41,9 @@ if(plaintext != 'none') {
                }
        });
 }
+else
+       $("#prvmail-text").contact_autocomplete(baseurl+"/acl");
+
 
 </script>
 <script type="text/javascript" src="js/ajaxupload.js" ></script>