1
0
Fork 0

rework autocomplete: seperate bbcode completion

This commit is contained in:
rabuzarus 2016-04-14 23:59:29 +02:00
commit 98b62b80f3
7 changed files with 124 additions and 12 deletions

View file

@ -148,6 +148,9 @@
$(document).ready(function() {
{{if $editselect = 'none'}}
$("#comment-edit-text-desc").bbco_autocomplete('bbcode');
{{/if}}
$('#event-share-checkbox').change(function() {

View file

@ -24,6 +24,7 @@ function initEditor(cb){
$("#profile-jot-text-loading").hide();
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
$("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
$("#profile-jot-text").bbco_autocomplete('bbcode');
editor = true;
$("a#jot-perms-icon").colorbox(colorbox_options);
$(".jothidden").show();

View file

@ -63,6 +63,11 @@ else
}
);
{{if $editselect = 'none'}}
$("#prvmail-text").bbco_autocomplete('bbcode');
{{/if}}
});
function jotGetLink() {