diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-09 12:16:42 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-09 12:16:42 +0200 |
commit | e2b4d33627d5f4cf5f68eb087059d86c78eec41e (patch) | |
tree | 328313432c53b1a6c146595b91f4883ef5c33131 /view/tpl/jot-header.tpl | |
parent | 7690dca67b6574cd5b6ffcc59b1c8c6b2df5d54e (diff) | |
download | volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.tar.gz volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.tar.bz2 volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.zip |
some work on comanche autocomplete
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-x | view/tpl/jot-header.tpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 2b62f2407..769923a51 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -11,11 +11,15 @@ function initEditor(cb){ if(plaintext == 'none') { $("#profile-jot-text-loading").spin(false).hide(); $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); - $("#profile-jot-text").bbco_autocomplete('bbcode'); // autocomplete bbcode + {{if $bbco_autocomplete}} + $("#profile-jot-text").bbco_autocomplete('{{$bbco_autocomplete}}'); // autocomplete bbcode + {{/if}} + {{if $editor_autocomplete}} if(typeof channelId === 'undefined') $("#profile-jot-text").editor_autocomplete(baseurl+"/acl"); else $("#profile-jot-text").editor_autocomplete(baseurl+"/acl",[channelId]); // Also gives suggestions from current channel's connections + {{/if}} editor = true; $("a#jot-perms-icon").colorbox({ 'inline' : true, |