From 6f2db493259094e606696197eb3506f466977d4c Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 25 Jun 2013 18:49:39 +0300 Subject: Include Atmosphere fix for Android 4.1 (#12101) Change-Id: Ia17a9d8c6ece9861476be8861a735fe5d3e054bf --- WebContent/VAADIN/jquery.atmosphere.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'WebContent') diff --git a/WebContent/VAADIN/jquery.atmosphere.js b/WebContent/VAADIN/jquery.atmosphere.js index b83894d2eb..bb597f01b5 100644 --- a/WebContent/VAADIN/jquery.atmosphere.js +++ b/WebContent/VAADIN/jquery.atmosphere.js @@ -1159,6 +1159,10 @@ jQuery.atmosphere = function() { } } }; + if (_websocket.url === undefined) { + // Android 4.1 does not really support websockets and fails silently + _websocket.onclose({reason:"Android 4.1 does not support websockets.", wasClean: false}); + } } function _handleProtocol(request, message) { -- cgit v1.2.3