unknown 5 лет назад
Родитель
Сommit
f55bf95204
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      o2web/source/x_component_process_Xform/Org.js

+ 1 - 1
o2web/source/x_component_process_Xform/Org.js

@@ -1216,7 +1216,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg =  new Class(
         }.bind(this), function(){});
         }.bind(this), function(){});
 
 
         this.moduleValueAG = Promise.resolve(p);
         this.moduleValueAG = Promise.resolve(p);
-        if (p & p.then) p.then(function(){
+        if (p && p.then) p.then(function(){
             this.moduleValueAG = null;
             this.moduleValueAG = null;
         }.bind(this), function(){
         }.bind(this), function(){
             this.moduleValueAG = null;
             this.moduleValueAG = null;