aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/js/autocomplete.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index b6e81eb8c..a990ad187 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -202,14 +202,17 @@ function submit_form(e) {
$.fn.bbco_autocomplete = function(type) {
if(type=='bbcode') {
- var open_close_elements = ['b', 'i', 'u', 's', 'quote', 'code', 'spoiler', 'map', 'observer'];
- var open_elements = ['observer.photo', 'observer.name', 'observer.url'];
+ var open_close_elements = ['b', 'i', 'u', 's', 'quote', 'code', 'spoiler', 'map', 'nobb', 'list', 'ul', 'ol', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer',];
+ var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ];
var elements = open_close_elements.concat(open_elements);
}
if(type=='comanche') {
- var elements = ['region', 'widget', 'var', 'template', 'css', 'js'];
+ var open_close_elements = ['region', 'widget', 'var', 'template', 'css', 'js'];
+ var open_elements = [];
+
+ var elements = open_close_elements.concat(open_elements);
}
bbco = {