mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 14:36:10 +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.
|
METHOD load_cc.
|
||||||
|
|
||||||
DATA(js) = ` debugger; jQuery.sap.declare("z2ui5.FileUploader");` && |\n| &&
|
DATA(js) = `jQuery.sap.declare("z2ui5.FileUploader");` && |\n| &&
|
||||||
|\n| &&
|
|\n| &&
|
||||||
` sap.ui.define([` && |\n| &&
|
` sap.ui.require([` && |\n| &&
|
||||||
` "sap/ui/core/Control",` && |\n| &&
|
` "sap/ui/core/Control",` && |\n| &&
|
||||||
` "sap/m/Button",` && |\n| &&
|
` "sap/m/Button",` && |\n| &&
|
||||||
` "sap/ui/unified/FileUploader"` && |\n| &&
|
` "sap/ui/unified/FileUploader"` && |\n| &&
|
||||||
|
|
|
@ -49,9 +49,9 @@ CLASS Z2UI5_CL_FW_CC_SPREADSHEET IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD load_cc.
|
METHOD load_cc.
|
||||||
|
|
||||||
DATA(js) = ` debugger; jQuery.sap.declare("z2ui5.ExportSpreadsheet");` && |\n| &&
|
DATA(js) = ` jQuery.sap.declare("z2ui5.ExportSpreadsheet");` && |\n| &&
|
||||||
|\n| &&
|
|\n| &&
|
||||||
` sap.ui.define([` && |\n| &&
|
` sap.ui.require([` && |\n| &&
|
||||||
` "sap/ui/core/Control",` && |\n| &&
|
` "sap/ui/core/Control",` && |\n| &&
|
||||||
` "sap/m/Button",` && |\n| &&
|
` "sap/m/Button",` && |\n| &&
|
||||||
` "sap/ui/export/Spreadsheet"` && |\n| &&
|
` "sap/ui/export/Spreadsheet"` && |\n| &&
|
||||||
|
|
|
@ -54,7 +54,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
|
||||||
z2ui5_cl_fw_db=>cleanup( ).
|
z2ui5_cl_fw_db=>cleanup( ).
|
||||||
|
|
||||||
r_result = `<!DOCTYPE html>` && |\n| &&
|
r_result = `<!DOCTYPE html>` && |\n| &&
|
||||||
`<html>` && |\n| &&
|
`<html lang="en">` && |\n| &&
|
||||||
`<head>` && |\n| &&
|
`<head>` && |\n| &&
|
||||||
lv_sec_policy && |\n| &&
|
lv_sec_policy && |\n| &&
|
||||||
` <meta charset="UTF-8">` && |\n| &&
|
` <meta charset="UTF-8">` && |\n| &&
|
||||||
|
@ -76,8 +76,8 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
|
||||||
` ></script></head>` && |\n| &&
|
` ></script></head>` && |\n| &&
|
||||||
`<body class="sapUiBody sapUiSizeCompact" >` && |\n| &&
|
`<body class="sapUiBody sapUiSizeCompact" >` && |\n| &&
|
||||||
` <div id="content" data-handle-validation="true" ></div>` && |\n| &&
|
` <div id="content" data-handle-validation="true" ></div>` && |\n| &&
|
||||||
`</body>` && |\n| &&
|
`` && |\n| &&
|
||||||
`</html><abc/>` && |\n|.
|
`<abc/>` && |\n|.
|
||||||
|
|
||||||
r_result = r_result && `<script>` && |\n| &&
|
r_result = r_result && `<script>` && |\n| &&
|
||||||
` sap.ui.getCore().attachInit(function () {` && |\n| &&
|
` sap.ui.getCore().attachInit(function () {` && |\n| &&
|
||||||
|
@ -493,7 +493,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
|
||||||
custom_js &&
|
custom_js &&
|
||||||
` });` && |\n| &&
|
` });` && |\n| &&
|
||||||
`</script>` && |\n| &&
|
`</script>` && |\n| &&
|
||||||
`<abc/></html>`.
|
`<abc/></body></html>`.
|
||||||
|
|
||||||
* ` sap.z2ui5.checkLogActive = ` && z2ui5_lcl_utility=>get_json_boolean( check_logging ) && `;` && |\n| &&
|
* ` sap.z2ui5.checkLogActive = ` && z2ui5_lcl_utility=>get_json_boolean( check_logging ) && `;` && |\n| &&
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
|
@ -227,4 +227,4 @@ INTERFACE z2ui5_if_client
|
||||||
IMPORTING
|
IMPORTING
|
||||||
val TYPE data.
|
val TYPE data.
|
||||||
|
|
||||||
ENDINTERFACE.
|
endinterface.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user