launchpad compatibility (#256)

This commit is contained in:
oblomov 2023-05-31 13:22:10 +02:00
parent 2e62a18b05
commit c0cfb0e770

View File

@ -201,7 +201,11 @@ CLASS Z2UI5_CL_HTTP_HANDLER IMPLEMENTATION.
` definition: sap.z2ui5.oResponse.PARAMS.XML_MAIN,` && |\n| &&
` }).then(oView => {` && |\n| &&
` oView.setModel(oModel);` && |\n| &&
` oView.placeAt("content");` && |\n| &&
` if (sap.z2ui5.oParent) { ` && |\n| &&
` sap.z2ui5.oParent.removeAllPages(); ` && |\n| &&
` sap.z2ui5.oParent.insertPage( oView ); ` && |\n| &&
` }else{` && |\n| &&
` oView.placeAt("content")};` && |\n| &&
` sap.z2ui5.oView = oView;` && |\n| &&
` });` && |\n| &&
` }.bind(this);` && |\n| &&