fix(M7.7b): 启动时恢复语言(默认会话/无学科时读 fl_lang_common)
这个提交包含在:
@@ -448,6 +448,7 @@ function bootCodeMirror(){
|
||||
};
|
||||
ED_IS_MONACO=false;
|
||||
restoreCode(CUR_CONV);
|
||||
applyLangFor(CUR_COURSE||'common');
|
||||
}
|
||||
function bootMonaco(){
|
||||
MONACO_LIB = window.monaco;
|
||||
@@ -474,6 +475,7 @@ function bootMonaco(){
|
||||
ED_IS_MONACO=true;
|
||||
registerLsp(ed);
|
||||
restoreCode(CUR_CONV);
|
||||
applyLangFor(CUR_COURSE||'common');
|
||||
}
|
||||
function onLangChange(){
|
||||
CUR_LANG=document.getElementById('codeLang').value;
|
||||
|
||||
在新工单中引用
屏蔽一个用户