diff options
| author | hallgren <hallgren@chalmers.se> | 2012-11-21 15:07:59 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-11-21 15:07:59 +0000 |
| commit | 8bd58a02970d3650b5b3efb6298f40529737c2d8 (patch) | |
| tree | e6bf28a4ef008c69b38f3f985249ab43d119892d /src/www/syntax-editor/editor_menu.js | |
| parent | 051b7b0d21ad8ac1fe42dfd09cd773b48b8fd8ea (diff) | |
minibar+syntax editor integration, work in progress
Diffstat (limited to 'src/www/syntax-editor/editor_menu.js')
| -rw-r--r-- | src/www/syntax-editor/editor_menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/www/syntax-editor/editor_menu.js b/src/www/syntax-editor/editor_menu.js index e8d39ae37..3d813a79b 100644 --- a/src/www/syntax-editor/editor_menu.js +++ b/src/www/syntax-editor/editor_menu.js @@ -82,7 +82,7 @@ EditorMenu.prototype.show_grammarlist=function(dir,grammar_names,dir_count) { return hasPrefix(dir,"/tmp/gfse.") ? "gfse: "+g : g } function opt(g) { return option(glabel(g),dir+g); } - appendChildren(grammar_menu,map(opt,grammar_names)); + appendChildren(t.ui.grammar_menu,map(opt,grammar_names)); function pick_first_grammar() { if(t.timeout) clearTimeout(t.timeout),t.timeout=null; var grammar0=t.options.initial.grammar; |
