summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2013-06-13 17:54:07 +0300
committerVaadin Code Review <review@vaadin.com>2013-06-13 16:18:02 +0000
commita08974321a2a98a3031f3211f33e22f0b89f95a3 (patch)
treed8bd9dd590b492cbc081042660d15fb9c7e62c67 /WebContent
parent4f5bcef25ae9e2f2940485723681d35c2bcba8f2 (diff)
downloadvaadin-framework-a08974321a2a98a3031f3211f33e22f0b89f95a3.tar.gz
vaadin-framework-a08974321a2a98a3031f3211f33e22f0b89f95a3.zip
Consistently recover from disconnections in IE (#12073)
Change-Id: Ia65bc9238b712d69ba91b7a7a3fad8c57c4eddce
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/jquery.atmosphere.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebContent/VAADIN/jquery.atmosphere.js b/WebContent/VAADIN/jquery.atmosphere.js
index eb57ed6d53..b83894d2eb 100644
--- a/WebContent/VAADIN/jquery.atmosphere.js
+++ b/WebContent/VAADIN/jquery.atmosphere.js
@@ -680,8 +680,6 @@ jQuery.atmosphere = function() {
_close();
};
- request.closed = false;
-
if (_response.error == null) {
_response.request = request;
var prevState = _response.state;
@@ -2179,6 +2177,7 @@ jQuery.atmosphere = function() {
if (typeof(f.onError) != 'undefined') f.onError(response);
break;
case "opening" :
+ _request.closed = false;
if (typeof(f.onOpen) != 'undefined') f.onOpen(response);
break;
case "messagePublished" :