diff options
Diffstat (limited to 'WebContent/VAADIN/jquery.atmosphere.js')
-rw-r--r-- | WebContent/VAADIN/jquery.atmosphere.js | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |