bugfixes for launchpad compatibility (#597)

* small bugfixes

* bugfix launchpad compatibility for custom controls
This commit is contained in:
oblomov 2023-10-24 11:04:47 +02:00 committed by GitHub
parent eda3a70fb1
commit aab26f94f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -55,9 +55,9 @@ CLASS Z2UI5_CL_FW_CC_FILE_UPLOADER IMPLEMENTATION.
METHOD load_cc.
DATA(js) = ` debugger; jQuery.sap.declare("z2ui5.FileUploader");` && |\n| &&
DATA(js) = `jQuery.sap.declare("z2ui5.FileUploader");` && |\n| &&
|\n| &&
` sap.ui.define([` && |\n| &&
` sap.ui.require([` && |\n| &&
` "sap/ui/core/Control",` && |\n| &&
` "sap/m/Button",` && |\n| &&
` "sap/ui/unified/FileUploader"` && |\n| &&

View File

@ -49,9 +49,9 @@ CLASS Z2UI5_CL_FW_CC_SPREADSHEET IMPLEMENTATION.
METHOD load_cc.
DATA(js) = ` debugger; jQuery.sap.declare("z2ui5.ExportSpreadsheet");` && |\n| &&
DATA(js) = ` jQuery.sap.declare("z2ui5.ExportSpreadsheet");` && |\n| &&
|\n| &&
` sap.ui.define([` && |\n| &&
` sap.ui.require([` && |\n| &&
` "sap/ui/core/Control",` && |\n| &&
` "sap/m/Button",` && |\n| &&
` "sap/ui/export/Spreadsheet"` && |\n| &&

View File

@ -54,7 +54,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
z2ui5_cl_fw_db=>cleanup( ).
r_result = `<!DOCTYPE html>` && |\n| &&
`<html>` && |\n| &&
`<html lang="en">` && |\n| &&
`<head>` && |\n| &&
lv_sec_policy && |\n| &&
` <meta charset="UTF-8">` && |\n| &&
@ -76,8 +76,8 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
` ></script></head>` && |\n| &&
`<body class="sapUiBody sapUiSizeCompact" >` && |\n| &&
` <div id="content" data-handle-validation="true" ></div>` && |\n| &&
`</body>` && |\n| &&
`</html><abc/>` && |\n|.
`` && |\n| &&
`<abc/>` && |\n|.
r_result = r_result && `<script>` && |\n| &&
` sap.ui.getCore().attachInit(function () {` && |\n| &&
@ -493,7 +493,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
custom_js &&
` });` && |\n| &&
`</script>` && |\n| &&
`<abc/></html>`.
`<abc/></body></html>`.
* ` sap.z2ui5.checkLogActive = ` && z2ui5_lcl_utility=>get_json_boolean( check_logging ) && `;` && |\n| &&
ENDMETHOD.

View File

@ -227,4 +227,4 @@ INTERFACE z2ui5_if_client
IMPORTING
val TYPE data.
ENDINTERFACE.
endinterface.