From 24bf1f0d0ea42286a40cc8ac734b7d99c4197736 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 22 Nov 2012 16:42:39 +0000 Subject: 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... --- src/www/syntax-editor/editor_online.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/www/syntax-editor') 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, -- cgit v1.2.3