Răsfoiți Sursa

Merge branch 'wrdp' into 'develop'

Wrdp

See merge request o2oa/o2oa!3109
胡起 4 ani în urmă
părinte
comite
5185891aaf
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      o2web/source/x_component_process_Work/Main.js

+ 2 - 0
o2web/source/x_component_process_Work/Main.js

@@ -725,6 +725,8 @@ MWF.xApplication.process.Work.Main = new Class({
                 this.appForm.workAction = this.action;
                 this.appForm.workAction = this.action;
                 this.appForm.app = this;
                 this.appForm.app = this;
 
 
+                if  (layout.desktop.type !== "layout") layout.appForm = this.appForm;
+
                 if( this.$events && this.$events.queryLoadForm ){
                 if( this.$events && this.$events.queryLoadForm ){
                     this.appForm.addEvent( "queryLoad", function () {
                     this.appForm.addEvent( "queryLoad", function () {
                         this.fireEvent("queryLoadForm");
                         this.fireEvent("queryLoadForm");