From 567748b75ebbf49c8f91377d39dcf9277f91066d Mon Sep 17 00:00:00 2001 From: oblomov <102328295+oblomov-dev@users.noreply.github.com> Date: Mon, 6 Nov 2023 13:30:22 +0100 Subject: [PATCH] launchpad integration fix (#625) * Update README.md * launchpad integration fix --- README.md | 2 +- src/z2ui5_cl_fw_http_handler.clas.abap | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8a018680..d50c6951 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ *...offers a pure ABAP approach for developing UI5 apps, entirely without JavaScript, OData and RAP — similar to the past, when only a few lines of ABAP sufficed to display input forms and tables using Selection Screens & ALVs. Designed with a minimal system footprint, it works in both on-premise and cloud environments.* #### Key Features -* **User-Friendly:** Implement just a single interface for a standalone UI5 application * **100% ABAP:** Developing in pure ABAP (no JavaScript, DDL, EML or Customizing) +* **User-Friendly:** Implement just a single interface for a standalone UI5 application * **Minimal System Footprint:** Based on a plain HTTP handler (no BSP, OData, CDS, BOPF or RAP) * **Cloud and On-Premise Ready:** Works with both language versions (ABAP for Cloud, Standard ABAP) * **Broad System Compatibility:** Runs on all ABAP releases (from NW 7.02 to ABAP 2311) diff --git a/src/z2ui5_cl_fw_http_handler.clas.abap b/src/z2ui5_cl_fw_http_handler.clas.abap index 3246f0a6..e9a0d7d7 100644 --- a/src/z2ui5_cl_fw_http_handler.clas.abap +++ b/src/z2ui5_cl_fw_http_handler.clas.abap @@ -276,16 +276,16 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION. ` navCon.to(navConTo);` && |\n| && ` break;` && |\n| && ` case 'DRIVERJS_DRIVE':` && |\n| && - ` if( driver !== undefined && config !== undefined ) {` && |\n| && + ` if( driver !== undefined ) { if( config !== undefined ) {` && |\n| && ` driverObj = driver(config);` && |\n| && ` driverObj.drive();` && |\n| && - ` };` && |\n| && + ` } };` && |\n| && ` break;` && |\n| && ` case 'DRIVERJS_HIGHLIGHT':` && |\n| && - ` if( driver !== undefined && highlight_driver_config !== undefined && highlight_config !== undefined ) {` && |\n| && + ` if( driver !== undefined ) { if ( highlight_driver_config !== undefined ) { if (highlight_config !== undefined ) {` && |\n| && ` driverObj = driver(highlight_driver_config);` && |\n| && ` driverObj.highlight(highlight_config);` && |\n| && - ` };` && |\n| && + ` } }};` && |\n| && ` break;` && |\n| && ` }` && |\n| && ` },` && |\n| &&