mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
quickfix wrong server address
This commit is contained in:
parent
dd31464414
commit
e24fe56679
|
@ -191,9 +191,9 @@ CLASS Z2UI5_CL_HTTP_HANDLER IMPLEMENTATION.
|
|||
` sap.z2ui5.oView.destroy();` && |\n| &&
|
||||
` }` && |\n| &&
|
||||
` var xhr = new XMLHttpRequest();` && |\n| &&
|
||||
` var url = "/sap/bc/http/sap/y2ui5_http_handler/";` && |\n| &&
|
||||
` xhr.open("POST", url, true);` && |\n| &&
|
||||
` // xhr.open("POST", window.location.pathname, true);` && |\n| &&
|
||||
` // var url = "/sap/bc/http/sap/y2ui5_http_handler/";` && |\n| &&
|
||||
` // xhr.open("POST", url, true);` && |\n| &&
|
||||
` xhr.open("POST", window.location.pathname, true);` && |\n| &&
|
||||
` xhr.onload = function (that) {` && |\n| &&
|
||||
|\n| &&
|
||||
` if (that.target.status !== 200) {` && |\n| &&
|
||||
|
|
Loading…
Reference in New Issue
Block a user