Просмотр исходного кода

Merge branch 'fix/Process.starter_search_execption' into 'develop'

Merge of fix/[流程管理]修复新建流程实例界面搜索后不能启动的问题 to develop

See merge request o2oa/o2oa!176
蔡祥熠 5 лет назад
Родитель
Сommit
0f163d4ea3
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      o2web/source/x_component_process_TaskCenter/Main.js

+ 8 - 1
o2web/source/x_component_process_TaskCenter/Main.js

@@ -906,7 +906,14 @@ MWF.xApplication.process.TaskCenter.Process = new Class({
         this.application = application;
         this.applicationData = applicationData;
         this.app = this.application.app;
-        this.starter = this.application.starter
+        if( this.application.starter ){
+            this.starter = this.application.starter;
+        }else if( this.application.app && this.application.app.starter ){
+            this.starter = this.application.app.starter;
+        }else if( this.application.app && this.application.app.processStarter ){
+            this.starter = this.application.app.processStarter;
+        }
+        //this.starter = this.application.starter
         this.container = container;
         this.css = this.app.css;