mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-30 07:16:10 +08:00
new version fixes (#314)
This commit is contained in:
parent
fdd14c41cb
commit
c308a02068
|
@ -222,6 +222,7 @@ CLASS Z2UI5_CL_HTTP_HANDLER IMPLEMENTATION.
|
||||||
` sap.z2ui5.oBody.OLOCATION.ORIGIN = window.location.origin;` && |\n| &&
|
` sap.z2ui5.oBody.OLOCATION.ORIGIN = window.location.origin;` && |\n| &&
|
||||||
` sap.z2ui5.oBody.OLOCATION.PATHNAME = sap.z2ui5.pathname;` && |\n| &&
|
` sap.z2ui5.oBody.OLOCATION.PATHNAME = sap.z2ui5.pathname;` && |\n| &&
|
||||||
` sap.z2ui5.oBody.OLOCATION.SEARCH = window.location.search;` && |\n| &&
|
` sap.z2ui5.oBody.OLOCATION.SEARCH = window.location.search;` && |\n| &&
|
||||||
|
` sap.z2ui5.oBody.OLOCATION.VERSION = sap.ui.getVersionInfo().gav;` && |\n| &&
|
||||||
|\n| &&
|
|\n| &&
|
||||||
` if (sap.z2ui5.readOData) {` && |\n| &&
|
` if (sap.z2ui5.readOData) {` && |\n| &&
|
||||||
` sap.z2ui5.readOData();` && |\n| &&
|
` sap.z2ui5.readOData();` && |\n| &&
|
||||||
|
|
|
@ -1342,7 +1342,6 @@ CLASS z2ui5_lcl_fw_handler IMPLEMENTATION.
|
||||||
result->ms_db-id = lv_id.
|
result->ms_db-id = lv_id.
|
||||||
result->ms_db-id_prev = id_prev.
|
result->ms_db-id_prev = id_prev.
|
||||||
|
|
||||||
|
|
||||||
TRY.
|
TRY.
|
||||||
result->ms_actual-check_launchpad_active = so_body->get_attribute( `CHECKLAUNCHPADACTIVE` )->get_val( ).
|
result->ms_actual-check_launchpad_active = so_body->get_attribute( `CHECKLAUNCHPADACTIVE` )->get_val( ).
|
||||||
CATCH cx_root.
|
CATCH cx_root.
|
||||||
|
@ -1379,10 +1378,11 @@ CLASS z2ui5_lcl_fw_handler IMPLEMENTATION.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
||||||
TRY.
|
TRY.
|
||||||
DATA(lo_location) = so_body->get_attribute( `OLOCATION` ).
|
DATA(lo_location) = so_body->get_attribute( `OLOCATION` ).
|
||||||
ss_config-origin = lo_location->get_attribute( `ORIGIN` )->get_val( ).
|
ss_config-origin = lo_location->get_attribute( `ORIGIN` )->get_val( ).
|
||||||
ss_config-pathname = lo_location->get_attribute( `PATHNAME` )->get_val( ).
|
ss_config-pathname = lo_location->get_attribute( `PATHNAME` )->get_val( ).
|
||||||
ss_config-search = lo_location->get_attribute( `SEARCH` )->get_val( ).
|
ss_config-search = lo_location->get_attribute( `SEARCH` )->get_val( ).
|
||||||
|
ss_config-version = lo_location->get_attribute( `VERSION` )->get_val( ).
|
||||||
ss_config-controller_name = `z2ui5_controller`.
|
ss_config-controller_name = `z2ui5_controller`.
|
||||||
CATCH cx_root.
|
CATCH cx_root.
|
||||||
ENDTRY.
|
ENDTRY.
|
||||||
|
|
|
@ -12,6 +12,7 @@ INTERFACE z2ui5_if_client
|
||||||
TYPES:
|
TYPES:
|
||||||
BEGIN OF ty_S_config,
|
BEGIN OF ty_S_config,
|
||||||
controller_name TYPE string,
|
controller_name TYPE string,
|
||||||
|
version TYPE string,
|
||||||
pathname TYPE string,
|
pathname TYPE string,
|
||||||
origin TYPE string,
|
origin TYPE string,
|
||||||
search TYPE string,
|
search TYPE string,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user