From 727894375393665a29b3ed6b0a75ef807ed760c4 Mon Sep 17 00:00:00 2001 From: SuperPat <7791600+SuperPat45@users.noreply.github.com> Date: Mon, 2 Feb 2026 18:10:27 +0100 Subject: [PATCH] The onOpen() callback function may not be called after the online event if the response.error is true The onOpen() callback function may not be called after the online event if the response.error is true --- modules/javascript/src/main/webapp/javascript/atmosphere.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/javascript/src/main/webapp/javascript/atmosphere.js b/modules/javascript/src/main/webapp/javascript/atmosphere.js index 1290d90..772326f 100644 --- a/modules/javascript/src/main/webapp/javascript/atmosphere.js +++ b/modules/javascript/src/main/webapp/javascript/atmosphere.js @@ -3559,6 +3559,7 @@ if (requests.length > 0) { for (var i = 0; i < requests.length; i++) { if (requests[i].request.handleOnlineOffline) { + requests[i].response.error = false; requests[i].init(); requests[i].execute(); }