提交 42875a78 编写于 作者: 蔡祥熠

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

Merge of fix/Process.attachment_checkOrder 修复设置附件权限的时候没有刷新排序操作的问题 to wrdp

See merge request o2oa/o2oa!1807
......@@ -701,6 +701,7 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
}
},
setAttachmentConfig: function (readInput, editInput, controllerInput) {
debugger;
if (this.selectedAttachments.length) {
var readList = readInput.retrieve("data-value");
var editList = editInput.retrieve("data-value");
......@@ -741,6 +742,7 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
});
}
var loadedCount = 0;
this.selectedAttachments.each(function (att) {
att.data.readUnitList = readUnitList;
att.data.readIdentityList = readIdentityList;
......@@ -765,6 +767,10 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
attachment.configAction.setStyle("display","none");
}
}
loadedCount++;
if( loadedCount === this.selectedAttachments.length ){
this.checkActions();
}
}.bind(this))
}.bind(this));
}.bind(this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册