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

Merge branch 'fix/Process.opinion_empty_execption' into 'wrdp'

Merge of fix/Process.opinion_empty_execption to wrdp

See merge request o2oa/o2oa!1162

(cherry picked from commit d2d1199828d69b21bd5399a55d3c3767e5b10512)

2cefcb84 修复提交的时候意见可能未被清空的问题
上级 fa1a3131
......@@ -899,7 +899,7 @@ MWF.xApplication.process.Xform.Form = MWF.APPForm = new Class({
this.saveOpinion(module);
var key = layout.desktop.session.user.id;
if( typeOf( data[id] ) === "object" && data[id][key] ){
if( typeOf( data[id] ) === "object" && typeOf(data[id][key])==="string" ){
delete data[id][key]
}
// delete data[id];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册