summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-25 18:49:39 +0300
committerArtur Signell <artur@vaadin.com>2013-06-25 21:26:18 +0300
commit626dee6fef952321858ec53ec9c4899cabb996e6 (patch)
tree15ffcb7cdd6b8a5b7788a00099b7708b3e31779f
parent82dc8bbbe87d081b085ba54a9aa5905578e83217 (diff)
downloadvaadin-framework-626dee6fef952321858ec53ec9c4899cabb996e6.tar.gz
vaadin-framework-626dee6fef952321858ec53ec9c4899cabb996e6.zip
Include Atmosphere fix for Android 4.1 (#12101)
Change-Id: Ia17a9d8c6ece9861476be8861a735fe5d3e054bf
-rw-r--r--WebContent/VAADIN/jquery.atmosphere.js4
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) {