summaryrefslogtreecommitdiff
path: root/src/www/syntax-editor
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-11-22 16:42:39 +0000
committerhallgren <hallgren@chalmers.se>2012-11-22 16:42:39 +0000
commit24bf1f0d0ea42286a40cc8ac734b7d99c4197736 (patch)
tree6548f69df2f50195e117b07f552bea4ebfb9dd34 /src/www/syntax-editor
parentdb544b1cc9ee72c87dd6bbd094f6985b9e436186 (diff)
minibar: can now switch back to the minibar after switching to the syntax editor
This is done by including a lin_action when starting the syntax editor from the minibar. Also: added some minibar options in the syntax editor for consistency...
Diffstat (limited to 'src/www/syntax-editor')
-rw-r--r--src/www/syntax-editor/editor_online.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/www/syntax-editor/editor_online.js b/src/www/syntax-editor/editor_online.js
index 8b7c48acd..feeb09efb 100644
--- a/src/www/syntax-editor/editor_online.js
+++ b/src/www/syntax-editor/editor_online.js
@@ -23,6 +23,11 @@ if(window.Minibar) // Minibar loaded?
editor.shutdown();
var minibar_options = {
target: "editor",
+ show_abstract: true,
+ show_trees: true,
+ show_grouped_translations: false,
+ show_brackets: true,
+ word_replacements: true,
initial_grammar: editor.menu.ui.grammar_menu.value, // hmm
initial: {
from: langFrom,