minibar/syntax editor integration fixes

When starting from the minibar, the selected set of target languages is now
preserved when switching back and forth.
This commit is contained in:
hallgren
2013-04-12 14:30:27 +00:00
parent 965adf74d6
commit 95e68117a9
3 changed files with 4 additions and 3 deletions

View File

@@ -44,7 +44,8 @@ function GrammarManager(server,opts) {
this.grammars=[];
this.grammar_dirs=[];
this.startcat = null; // current startcat
this.languages = []; // current languages (empty means all langs)
this.languages = this.options.initial.languages || [];
// current languages (empty means all langs)
/* --- Main program, this gets things going ----------------------------- */
this.init=function(){