diff options
author | Artur Signell <artur@vaadin.com> | 2013-06-25 18:49:39 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-06-25 18:49:39 +0300 |
commit | 6f2db493259094e606696197eb3506f466977d4c (patch) | |
tree | d2cb2bcdaaf2e887cf2df56f8295bcf84caf4c2f /WebContent | |
parent | 90ed6576c040d7cd63abbde20302704c0baac417 (diff) | |
download | vaadin-framework-6f2db493259094e606696197eb3506f466977d4c.tar.gz vaadin-framework-6f2db493259094e606696197eb3506f466977d4c.zip |
Include Atmosphere fix for Android 4.1 (#12101)
Change-Id: Ia17a9d8c6ece9861476be8861a735fe5d3e054bf
Diffstat (limited to 'WebContent')
-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) { |