mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 00:16:36 +08:00
bugfixes for launchpad compatibility (#597)
* small bugfixes * bugfix launchpad compatibility for custom controls
This commit is contained in:
parent
eda3a70fb1
commit
aab26f94f8
|
@ -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| &&
|
||||
|
|
|
@ -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| &&
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -227,4 +227,4 @@ INTERFACE z2ui5_if_client
|
|||
IMPORTING
|
||||
val TYPE data.
|
||||
|
||||
ENDINTERFACE.
|
||||
endinterface.
|
||||
|
|
Loading…
Reference in New Issue
Block a user