Hey David,
2009/8/31 David Galicia <[email protected]>:
> When running the hello world example with
> enableUpdates(), the session keeps refreshing
> several times a second. Has anyone else noticed
> this behavior?
>
> I'm using Wt 2.99.4 and tested boost 1.39 and
> the new boost 1.40; both give the same behavior.
Oops, that is an artefact om some refactorings we did for Wt 2.99.4.
The following patch solves the problem. I've also pushed it to git.
Regards,
koen
diff --git a/src/web/skeleton/Wt.js b/src/web/skeleton/Wt.js
index b2da420..ec8b79e 100644
--- a/src/web/skeleton/Wt.js
+++ b/src/web/skeleton/Wt.js
@@ -1183,7 +1183,7 @@ var sendUpdate = function() {
}
responsePending = _$_APP_CLASS_$_._p_.sendUpdate
- (url + query, 'request=jsupdate&ackId=' + ackUpdateId + data.result,
+ (url + query, 'request=jsupdate&' + data.result + '&ackId=' + ackUpdateId,
tm, ackUpdateId);
pollTimer
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest