提交 aad9a115 编写于 作者: 蔡祥熠

Merge branch 'cherry-pick-dc30b99f' into 'develop'

修复MDomItem修改编辑模式的BUG

See merge request o2oa/o2oa!1384
......@@ -227,6 +227,7 @@ var MDomItem = new Class({
if(keep)this.save();
this.options.isEdited = true;
this.dispose();
this.items = [];
this.load();
},
save : function(){
......@@ -236,6 +237,7 @@ var MDomItem = new Class({
if(keep)this.save();
this.options.isEdited = false;
this.dispose();
this.items = [];
this.load();
},
enable : function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册