First of all, great thanks to the library creators. Very nice thing indeed.
But I came across with some issues when using it.
Subj. is one of them.
This message appears as JS confirm window.
How to reproduce:
Slot code has to delete something from DOM page (for example table from
root) and then create something on it.
You should activate slot reaction several times simultaneously (for
example rapidly clicking the button that in connected to a slot many times).
Sometimes the above error arises, and after that you have nothing to do
besides reloading web-page (and application) as it won't work.
Here's workaround that fixes this problem:
Index: head/src/wt-2.1.5/src/web/skeleton/Wt.js
===================================================================
--- head/src/wt-2.1.5/src/web/skeleton/Wt.js (revision 776)
+++ head/src/wt-2.1.5/src/web/skeleton/Wt.js (revision 777)
@@ -574,9 +574,12 @@
var randomSeed = new Date().getTime();
var update = function(self, signalName, e, feedback) {
+ if(responsesPending)
+ return;
+
${APP_CLASS}.private.autoJavaScript();
++responsesPending;
-
+
if (${WT_CLASS}.isIEMobile) feedback = false;
if (quited) {
I suppose that's not the correct one actually, but works as for me.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest