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/js | |
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/js')
-rw-r--r-- | view/js/autocomplete.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 0ba291004..a4a1fdf51 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -269,7 +269,14 @@ function string2bb(element) { } if(type=='comanche') { - var open_close_elements = ['region', 'widget', 'var', 'template', 'css', 'js']; + var open_close_elements = ['region', 'layout', 'template', 'theme', 'widget', 'block', 'menu', 'var', 'css', 'js', 'authored', 'comment', 'webpage']; + var open_elements = []; + + var elements = open_close_elements.concat(open_elements); + } + + if(type=='comanche-block') { + var open_close_elements = ['menu', 'var']; var open_elements = []; var elements = open_close_elements.concat(open_elements); |