修正脚本编辑器输入bug See merge request o2oa/o2oa!488
@@ -169,7 +169,7 @@ o2.widget.ScriptArea = new Class({
"set": function(v){
content.editors.each(function(editor){
if (editor.editor){
- if (v!==editor.editor.getValue()) editor.editor.setValue(v);
+ if (v!==editor.editor.getValue()) editor.editor.setValue(v,1);
}else{
editor.reload();
}
@@ -920,7 +920,7 @@ MWF.xApplication.portal.PageDesigner.Script.Item = new Class({
this.data.editors.each(function(editor){