support autocomplete @-tags in plaintext mode

This commit is contained in:
friendica 2012-03-28 00:44:45 -07:00
parent f95fb2667a
commit 7fc57f486f
2 changed files with 4 additions and 0 deletions

View File

@ -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',

View File

@ -41,6 +41,9 @@ if(plaintext != 'none') {
}
});
}
else
$("#prvmail-text").contact_autocomplete(baseurl+"/acl");
</script>
<script type="text/javascript" src="js/ajaxupload.js" ></script>