X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageMinichat%2Fconversation.js;h=635f50a4dcf70bc859b2732766658eb42362102c;hb=09608ab29e1c39ea51b51a5f8669dcde36efb306;hp=acd7d672cfb244dae3d9a755e7af0bfd0923ce75;hpb=8ee1535f5594573931ddaebee77bf6148a5358cb;p=euphorik.git diff --git a/js/pageMinichat/conversation.js b/js/pageMinichat/conversation.js index acd7d67..635f50a 100644 --- a/js/pageMinichat/conversation.js +++ b/js/pageMinichat/conversation.js @@ -35,7 +35,7 @@ euphorik.Conversation = function(conversations, num) { this.id = Math.floor(Math.random() * 1000000).toString(36); this.util = this.conversations.util; - this.formateur = this.conversations.formateur; + this.formater = this.conversations.formater; this.client = this.conversations.client; this.idDernierMessageAffiche = 0; @@ -107,7 +107,7 @@ euphorik.Conversation.prototype.getMessageReduit = function() { * @racine un message représentant la racine de la conversation, vaut undefined pour la conversation générale */ euphorik.Conversation.prototype.setRacine = function(racineElement) { - this.racine = new euphorik.Message(this.client, this.formateur, racineElement); + this.racine = new euphorik.Message(this.client, this.formater, racineElement); }; /** @@ -291,11 +291,11 @@ euphorik.Conversation.prototype.flush = function() { var mess = thisConversation.messagesParId[messId]; if (mess) { mess.clientARepondu = true; - $("#conversations #" + mess.getId(thisConversation.getId())).addClass("repondu") + $("#conversations #" + mess.getId(thisConversation.getId())).addClass("repondu"); } }); } - }); + }); if (this.messages.length > 0) { this.idDernierMessageAffiche = this.messages[this.messages.length-1].id;