mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 20:38:43 +08:00
fix demo 66 (#366)
This commit is contained in:
parent
9db7752fad
commit
2f10c54342
|
@ -135,7 +135,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
` }` && |\n| &&
|
||||
` if (sap.z2ui5.checkNestAfter == false) {` && |\n| &&
|
||||
` if (sap.z2ui5.oResponse.PARAMS.S_VIEW_NEST.XML !== '') {` && |\n| &&
|
||||
` sap.z2ui5.oController.ViewDestroy(sap.z2ui5.oViewNest);` && |\n| &&
|
||||
` sap.z2ui5.oController.NestViewDestroy( );` && |\n| &&
|
||||
` new sap.ui.core.mvc.XMLView.create({` && |\n| &&
|
||||
` definition: sap.z2ui5.oResponse.PARAMS.S_VIEW_NEST.XML,` && |\n| &&
|
||||
` }).then(oView => {` && |\n| &&
|
||||
|
@ -197,6 +197,12 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
` }` && |\n| &&
|
||||
` sap.z2ui5.oViewPopover.destroy();` && |\n| &&
|
||||
` },` && |\n| &&
|
||||
` NestViewDestroy: () => {` && |\n| &&
|
||||
` if (!sap.z2ui5.oViewNest) {` && |\n| &&
|
||||
` return;` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` sap.z2ui5.oViewNest.destroy();` && |\n| &&
|
||||
` },` && |\n| &&
|
||||
` ViewDestroy: () => {` && |\n| &&
|
||||
` if (!sap.z2ui5.oView) {` && |\n| &&
|
||||
` return;` && |\n| &&
|
||||
|
@ -333,6 +339,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION.
|
|||
` Roundtrip: () => {` && |\n| &&
|
||||
|\n| &&
|
||||
` sap.z2ui5.checkTimerActive = false;` && |\n| &&
|
||||
` sap.z2ui5.checkNestAfter = false;` && |\n| &&
|
||||
|\n| &&
|
||||
` sap.z2ui5.oBody.OLOCATION = {` && |\n| &&
|
||||
` ORIGIN: window.location.origin,` && |\n| &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user