Procházet zdrojové kódy

内容管理保存ntko正文的时候出错

unknown před 5 roky
rodič
revize
6199acb94f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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) {