From 8bd58a02970d3650b5b3efb6298f40529737c2d8 Mon Sep 17 00:00:00 2001 From: hallgren Date: Wed, 21 Nov 2012 15:07:59 +0000 Subject: minibar+syntax editor integration, work in progress --- src/www/syntax-editor/editor_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/www/syntax-editor/editor_menu.js') 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; -- cgit v1.2.3