gfse: text mode editing: accept grammars with printname judgements

But printname judgements are ignored for now.
Also fixed an UTF-8 encoding bug when parsing uploaded grammars in gf -server
mode.
This commit is contained in:
hallgren
2012-02-24 17:12:38 +00:00
parent 92aa961205
commit 03f3baeba3
3 changed files with 10 additions and 6 deletions

View File

@@ -536,7 +536,7 @@ function text_mode(g,file,ix) {
var mode_button=div_class("right",[button("Guided mode",switch_to_guided_mode)])
clear(file)
appendChildren(file,[mode_button,ta])
ta.style.height=ta.scrollHeight+"px";
//ta.style.height=ta.scrollHeight+"px";
ta.focus();
}
var mode_button=div_class("right",[button("Text mode",switch_to_text_mode)])