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\r
data: { action : JSON.stringify(dataToSend) },\r
success:\r
- function(data) { \r
+ function(data) {\r
funsReceive[data.reply](data);\r
\r
// rappel de la fonction dans 100 ms\r
},\r
error:\r
function(XMLHttpRequest, textStatus, errorThrown) {\r
- ;; console.log("Connexion perdue dans PageEvent.prototype.waitEvent()");\r
+ ;; console.log("Connexion perdue dans Comet.prototype.waitEvent() : \n" + textStatus);\r
setTimeout(function(){ thisComet.waitEvent2(funSend, funsReceive); }, 1000);\r
}\r
});\r