unknown 5 лет назад
Родитель
Сommit
106fc87077
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 0
      o2web/gulpfile.js
  2. 2 1
      o2web/source/x_component_cms_Document/Main.js

+ 1 - 0
o2web/gulpfile.js

@@ -258,6 +258,7 @@ function createCMSXFormConcatTask(path, isMin, thisOptions) {
             // 'source/x_component_process_Work/Processor.js',
             // '!source/' + processPath + '/Office.js'
 
+            'source/' + path + '/ModuleImplements',
             'source/' + path + '/widget/Comment.js',
             'source/' + path + '/widget/Log.js',
             'source/' + path + '/Org.js',

+ 2 - 1
o2web/source/x_component_cms_Document/Main.js

@@ -364,7 +364,8 @@ MWF.xApplication.cms.Document.Main = new Class({
     },
     openDocument: function(){
         if (this.form){
-            MWF.xDesktop.requireApp("cms.Xform", "Form", function(){
+            //Form
+            MWF.xDesktop.requireApp("cms.Xform", "$all", function(){
                 this.appForm = new MWF.CMSForm(this.formNode, this.form, {
                     "readonly": this.readonly,
                     "autoSave" : this.options.autoSave,