Explorar el Código

增加附件上载进度显示

huqi hace 5 años
padre
commit
be4376e745
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      o2web/source/x_component_cms_Xform/Attachment.js

+ 1 - 1
o2web/source/x_component_cms_Xform/Attachment.js

@@ -208,7 +208,7 @@ MWF.xApplication.cms.Xform.Attachment = MWF.CMSAttachment = new Class({
                 this.form.documentAction.getAttachment(o.id, this.form.businessData.document.id, function (json) {
                     if (json.data) {
                         if (!json.data.control) json.data.control = {};
-                        this.attachmentController.addAttachment(json.data);
+                        this.attachmentController.addAttachment(json.data, o.messageId);
                         this.form.businessData.attachmentList.push(json.data);
                     }
                     this.attachmentController.checkActions();