提交 c44f6e79 编写于 作者: NoSubject's avatar NoSubject

版式正文痕迹保留修改

上级 fa5321ff
......@@ -560,6 +560,10 @@ MWF.xApplication.process.Xform.widget.DocumentHistory = new Class({
},
createDiifInforNode: function(obj, node, color, insertInfor){
if (this.historyInforDiv){
this.historyInforDiv.dispose();
this.historyInforDiv = null;
}
var insertInforDiv = new Element("div", { "styles": this.css.historyInforNode }).inject(this.documentEditor.node);
insertInforDiv.setStyle("background", color);
insertInfor = insertInfor.replace(/{name}/, o2.name.cn(obj.person))
......@@ -574,6 +578,7 @@ MWF.xApplication.process.Xform.widget.DocumentHistory = new Class({
"x": 0, "y": -10
}
});
this.historyInforDiv = insertInforDiv;
return insertInforDiv;
},
doDiffsAnimation: function(obj, start, callback){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册