|
@@ -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");
|