diff options
author | redmatrix <git@macgirvin.com> | 2016-04-10 17:03:30 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-10 17:03:30 -0700 |
commit | e9f1bac062bc72f118c7633cf683b21a000d089e (patch) | |
tree | f26c59e6399deb278b1659534d7c6ea75a397b95 /view/js/autocomplete.js | |
parent | abfbe9c9375c7505e0422b8adc1d9d5426d7df1a (diff) | |
parent | 46ed79c87a23f442eadc4244b62a6f85f3d431e8 (diff) | |
download | volse-hubzilla-e9f1bac062bc72f118c7633cf683b21a000d089e.tar.gz volse-hubzilla-e9f1bac062bc72f118c7633cf683b21a000d089e.tar.bz2 volse-hubzilla-e9f1bac062bc72f118c7633cf683b21a000d089e.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/js/autocomplete.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); |