@magic-xpa/gui 4.1100.0-dev4110.67 → 4.1100.0-dev4110.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13785,10 +13785,11 @@ class MgFormBase extends GuiFormPropertyAdapter {
|
|
|
13785
13785
|
async createForm() {
|
|
13786
13786
|
let inputControls = this.GetListOfInputControls();
|
|
13787
13787
|
let formName = this.buildFormName();
|
|
13788
|
-
if (this.
|
|
13789
|
-
|
|
13790
|
-
|
|
13791
|
-
|
|
13788
|
+
if (!this.isSubForm()) {
|
|
13789
|
+
if (this.isDialog())
|
|
13790
|
+
await Commands.openOverlayForm(this, formName, '0', this.getTask().getTaskTag(), inputControls, this.isDialog());
|
|
13791
|
+
else
|
|
13792
|
+
Commands.addOpenForm(this, formName, '0', this.getTask().getTaskTag(), inputControls, this.isDialog());
|
|
13792
13793
|
}
|
|
13793
13794
|
else {
|
|
13794
13795
|
Commands.addOpensubform(CommandType.CREATE_SUB_FORM, this.getSubFormCtrl(), this.getTask().getTaskTag(), this.getSubFormCtrl().getName(), formName, inputControls, this.getTask().RouterPath, this.getTask().GetRouterParams(), this.getTask().InDefaultRouterOutlet);
|