From f203a773f366d9bd59a8fc48151d7670b2f2220f Mon Sep 17 00:00:00 2001 From: oblomov <102328295+oblomov-dev@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:16:58 +0200 Subject: [PATCH] update standalone compatibility (#556) --- src/z2ui5_cl_fw_http_handler.clas.abap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/z2ui5_cl_fw_http_handler.clas.abap b/src/z2ui5_cl_fw_http_handler.clas.abap index 0451e82d..be096a70 100644 --- a/src/z2ui5_cl_fw_http_handler.clas.abap +++ b/src/z2ui5_cl_fw_http_handler.clas.abap @@ -259,7 +259,7 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION. ` },` && |\n| && |\n| && ` onEvent: function (...args) {` && |\n| && - ` if ( sap.z2ui5.isBusy && sap.z2ui5.isBusy == true ){ sap.z2ui5.b = new sap.m.BusyDialog(); sap.z2ui5.b.open(); return; } ` && + ` if ( sap.z2ui5.isBusy ) { if( sap.z2ui5.isBusy == true ){ sap.z2ui5.b = new sap.m.BusyDialog(); sap.z2ui5.b.open(); return; } } ` && ` sap.z2ui5.isBusy = true; ` && ` if (!window.navigator.onLine) {` && |\n| && ` sap.m.MessageBox.alert('No internet connection! Please reconnect to the server and try again.');` && |\n| &&