aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-28 00:44:45 -0700
committerfriendica <info@friendica.com>2012-03-28 00:44:45 -0700
commit7fc57f486fb91da67c190ef8563d872a3570ded6 (patch)
tree229e30eecd81ef208bd608c89fc152e13bd6b30a /view
parentf95fb2667a989b9a0fc182b473dd0d6f2730c964 (diff)
downloadvolse-hubzilla-7fc57f486fb91da67c190ef8563d872a3570ded6.tar.gz
volse-hubzilla-7fc57f486fb91da67c190ef8563d872a3570ded6.tar.bz2
volse-hubzilla-7fc57f486fb91da67c190ef8563d872a3570ded6.zip
support autocomplete @-tags in plaintext mode
Diffstat (limited to 'view')
-rwxr-xr-xview/jot-header.tpl1
-rwxr-xr-xview/msg-header.tpl3
2 files changed, 4 insertions, 0 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 974e02ab4..99e3aa0ec 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 49ee5905b..2d1ea7a61 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");
+
</script>
<script type="text/javascript" src="js/ajaxupload.js" ></script>