diff --git a/src/z2ui5_cl_http_handler.clas.abap b/src/z2ui5_cl_http_handler.clas.abap index 67c053c7..f83c29d1 100644 --- a/src/z2ui5_cl_http_handler.clas.abap +++ b/src/z2ui5_cl_http_handler.clas.abap @@ -349,6 +349,7 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION. ` SEARCH: window.location.search,` && |\n| && ` VERSION: sap.ui.getVersionInfo().gav,` && |\n| && ` };` && |\n| && + ` if(sap.z2ui5.search) { sap.z2ui5.oBody.OLOCATION.SEARCH = sap.z2ui5.search; }` && |\n| && |\n| && ` if (sap.z2ui5.readOData) {` && |\n| && ` sap.z2ui5.readOData();` && |\n| && @@ -361,11 +362,11 @@ CLASS z2ui5_cl_http_handler IMPLEMENTATION. ` if (!sap.z2ui5) {` && |\n| && ` sap.z2ui5 = {};` && |\n| && ` }` && |\n| && - ` // if (!sap.z2ui5.pathname) {` && |\n| && + ` if (!sap.z2ui5.pathname) {` && |\n| && ` sap.z2ui5.pathname = window.location.pathname;` && |\n| && ` debugger;` && |\n| && ` // sap.z2ui5.pathname = "/sap/bc/http/sap/y2ui5_http_handler/";` && |\n| && - ` // }` && |\n| && + ` }` && |\n| && ` // if (!sap.z2ui5.checkLaunchpadActive) {` && |\n| && ` // sap.z2ui5.checkLaunchpadActive = false;` && |\n| && ` // }` && |\n| &&