MOD replace 'formateur' by 'formater'
[euphorik.git] / js / pageMinichat / conversation.js
index acd7d67..635f50a 100644 (file)
@@ -35,7 +35,7 @@ euphorik.Conversation = function(conversations, num) {
    this.id = Math.floor(Math.random() * 1000000).toString(36);\r
    \r
    this.util = this.conversations.util;\r
-   this.formateur = this.conversations.formateur;\r
+   this.formater = this.conversations.formater;\r
    this.client = this.conversations.client;\r
    \r
    this.idDernierMessageAffiche = 0;\r
@@ -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\r
   */\r
 euphorik.Conversation.prototype.setRacine = function(racineElement) {\r
-   this.racine = new euphorik.Message(this.client, this.formateur, racineElement);\r
+   this.racine = new euphorik.Message(this.client, this.formater, racineElement);\r
 };\r
 \r
 /**\r
@@ -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");
             }
          });
       }
-   });
+   });\r
    \r
    if (this.messages.length > 0) {\r
       this.idDernierMessageAffiche = this.messages[this.messages.length-1].id;\r