support autocomplete @-tags in plaintext mode
This commit is contained in:
parent
f95fb2667a
commit
7fc57f486f
|
@ -11,6 +11,7 @@ function initEditor(cb){
|
||||||
if(plaintext == 'none') {
|
if(plaintext == 'none') {
|
||||||
$("#profile-jot-text-loading").hide();
|
$("#profile-jot-text-loading").hide();
|
||||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||||
|
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||||
editor = true;
|
editor = true;
|
||||||
$("a#jot-perms-icon").fancybox({
|
$("a#jot-perms-icon").fancybox({
|
||||||
'transitionIn' : 'elastic',
|
'transitionIn' : 'elastic',
|
||||||
|
|
|
@ -41,6 +41,9 @@ if(plaintext != 'none') {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
$("#prvmail-text").contact_autocomplete(baseurl+"/acl");
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="js/ajaxupload.js" ></script>
|
<script type="text/javascript" src="js/ajaxupload.js" ></script>
|
||||||
|
|
Loading…
Reference in a new issue