summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-08-30 13:43:34 +0300
committerLeif Åstrand <leif@vaadin.com>2013-08-30 13:43:34 +0300
commitbe3953c0686a4bd59fe9df2c401d882104a7afac (patch)
treedcefc03352e742a41d3551d781651bfbe19875d6 /WebContent/VAADIN
parentd827a1760da477575294f0105933e868c1bf3ad3 (diff)
parentad669c39c603650cc8193eef83fe1b6a39be0e45 (diff)
downloadvaadin-framework-be3953c0686a4bd59fe9df2c401d882104a7afac.tar.gz
vaadin-framework-be3953c0686a4bd59fe9df2c401d882104a7afac.zip
Merge changes from origin/7.1
4f3e81a Use <code> instead of {@code} for sample containing { and } (#12311) c7a48ae Delay sending DateField popup value to server until popup is closed #6252 dc491a4 Reset waitingForFilteringResponse flag to false inside onBlur (#12325) 4fb775a Fixed a typo in FieldGroup.isModified() JavaDoc. (#12172) aa47197 Add a chapter on installing IvyDE (for #12359) eaec281 GWT requires max 1.6 compiler compliance level currently - #12345 f72be69 Terminate JVM if server.close() has no effect (#12363) 36413cb Make sure that no fileIds are replayed to the client (#12330) 7182665 Fix scrollbar for Window under WebKit browsers (#11994) 61dbe9c Search only remaining message for delimiter (#12404) b5a212a Report min and max times from Profiler (#12409) 7220ca8 Fixed DragAndDropWrapper using wrong drop target in IE8 #12406 c87772b Escape markup in CustomLayout's JavaDoc (#12410) f5b67af Optimize ComputedStyle.getIntProperty() (#12411) 0473036 Add more detailed profiling for some client side hotspots (#12418) 7dfe5ae Fixed test broken by fixes to drag&drop #12406 234ed1c Fixed test broken by PopupDateField communication change #6252 c7a8c3f Fixed failing TabKeyboardNavigation test #12433 fac9ff6 Optimize resetting of state when detaching components (#10899, #11284) af995de Optimize large Vertical/HorizontalLayout client side (#12420, #10899) 39fd5fc Fix bug for spacing on first widget (#12420) bd4442b Fixed broken test due to changes in drop position by #12406 b83240f Optimize CssLayout hierarchy update (#11284) a52b286 Added controlDirective to ifContentStatement. Fixes ticket #12105. 8ce45c7 Disable slow sanity check when not in debug mode (#12463) 232eb42 Enable use of profiler without debug window (#12465) 6dc46c5 Use the add() path of CssLayout only when appending to the end (#11284) bea7fa3 Only consider caption tooltips for own slots (#12469) dce63d1 Allow creating session for Portlet UI init request (#12473) ad669c3 Adds junit to the ide configuration for the theme-compiler module. Change-Id: Icd734d6849cc4f4014e1268f4fabe1ed92f72e38
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/jquery.atmosphere.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebContent/VAADIN/jquery.atmosphere.js b/WebContent/VAADIN/jquery.atmosphere.js
index b2dd99f5d2..b6f86d428a 100644
--- a/WebContent/VAADIN/jquery.atmosphere.js
+++ b/WebContent/VAADIN/jquery.atmosphere.js
@@ -1213,9 +1213,13 @@ jQuery.atmosphere = function() {
messageLength = jQuery.trim(message.substring(messageLength, messageStart));
message = message.substring(messageStart + request.messageDelimiter.length, message.length);
+ // Stop search if there is not enough characters remaining (wait for next part to arrive)
if (message.length == 0 || message.length < messageLength) break;
- messageStart = message.indexOf(request.messageDelimiter);
+ // Find start of a possibly existing subsequent message from the remaining data
+ messageStart = message.substring(messageLength).indexOf(request.messageDelimiter);
+
+ // Store the completely received message
messages.push(message.substring(0, messageLength));
}