فهرست منبع

Merge branch 'fix/CMS.attachment_unload_execption' into 'release'

Merge of fix/CMS.attachment_unload_execption to release

See merge request o2oa/o2oa!339
蔡祥熠 5 سال پیش
والد
کامیت
8f6ea15c6b
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      o2web/source/x_component_cms_Xform/Attachment.js

+ 5 - 0
o2web/source/x_component_cms_Xform/Attachment.js

@@ -73,6 +73,11 @@ MWF.xApplication.cms.Xform.AttachmentController = new Class({
 MWF.xApplication.cms.Xform.Attachment = MWF.CMSAttachment = new Class({
     Extends: MWF.APPAttachment,
 
+    _loadUserInterface: function () {
+        this.node.empty();
+        this.loadAttachmentController();
+        this.fireEvent("load");
+    },
 
     loadAttachmentController: function () {
         //MWF.require("MWF.widget.AttachmentController", function() {