From ba46dcd8c910e9f5cd4d20325300ddadff99015f Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Fri, 6 Jun 2008 19:53:02 +0000 Subject: [PATCH] =?utf8?q?FIX=20les=20messages=20r=C3=A9pondu=20se=20d?= =?utf8?q?=C3=A9color=C3=A9=20apr=C3=A8s=20une=20mise=20en=20=C3=A9vidence?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/pageMinichat.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 7282a43..e660b1a 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -239,7 +239,15 @@ PageMinichat.prototype.envoyerMessage = function(pseudo, message) // met à jour la classe des messages auquel repond celui ci (c'est un peu de la triche) TODO : ya mieux ? for (var i = 0; i < repondA.length; i++) + { + for (var j = 0; j < thisPageMinichat.messages.conversations.length; j++) + { + var mess = thisPageMinichat.messages.conversations[j].messagesParId[repondA[i]] + if (mess != undefined) + mess.clientARepondu = true + } $("#conversations div#mess" + repondA[i].toString(36)).addClass("repondu") + } } else if (data["reply"] == "error") { -- 2.45.2