X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Fcomet.js;h=3cd1b17dea9f98c97f7581012cf3db4899bc78bc;hp=e06f518dfe4f5915288ad2715669299eca45cae0;hb=2648c8ab1a531e660e18ac97d2efe08d4d63968d;hpb=e2355385811ba452308be5e66afc7f93cb6af75b diff --git a/js/comet.js b/js/comet.js index e06f518..3cd1b17 100644 --- a/js/comet.js +++ b/js/comet.js @@ -98,7 +98,7 @@ Comet.prototype.waitEvent = function(funSend, funsReceive) { timeout: 180000, // timeout de 3min. Gros HACK pas beau. FIXME problème décrit ici : http://groups.google.com/group/jquery-en/browse_thread/thread/8724e64af3333a76 data: { action : JSON.stringify(dataToSend) }, success: - function(data) { + function(data) { funsReceive[data.reply](data); // rappel de la fonction dans 100 ms