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| &&