Explorar el Código

Merge branch 'fix/CMS.save_office' into 'wrdp'

Merge of fix/CMS.save_office 修复内容管理保存ntko正文的时候出错的问题 to wrdp

See merge request o2oa/o2oa!2432
蔡祥熠 hace 5 años
padre
commit
b2bb47516a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      o2web/source/x_component_cms_Xform/Form.js

+ 2 - 2
o2web/source/x_component_cms_Xform/Form.js

@@ -358,7 +358,7 @@ MWF.xApplication.cms.Xform.Form = MWF.CMSForm = new Class({
         this.fireEvent("postSave", [documentData]);
         if (this.officeList) {
             this.officeList.each(function (module) {
-                module.save(history);
+                module.save();
             });
         }
         this.documentAction.saveDocument(documentData, function () {
@@ -460,7 +460,7 @@ MWF.xApplication.cms.Xform.Form = MWF.CMSForm = new Class({
         if (this.app) if (this.app.fireEvent) this.app.fireEvent("postPublish",[documentData]);
         if (this.officeList) {
             this.officeList.each(function (module) {
-                module.save(history);
+                module.save();
             });
         }
         this.documentAction.publishDocumentComplex(documentData, function (json) {