X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Fchat%2Fconversations.js;h=3f9fe2dfc756e68832ef5628da3ae11e32d9c993;hp=5ba27d8471f0c730f16259693cf86ee88a401b54;hb=5dc140390551c133ac5525725a86854ca69679af;hpb=73eeebd801f82fd9b9eeba3c5757bb26e01ec648 diff --git a/js/chat/conversations.js b/js/chat/conversations.js index 5ba27d8..3f9fe2d 100644 --- a/js/chat/conversations.js +++ b/js/chat/conversations.js @@ -136,12 +136,12 @@ euphorik.Conversations.prototype.ajouterMessageRepond = function(mess) { /** * Construit tous les id potentiels d'un message, renvoie par exemple : - * "conv9b28mess1h, conv9b2amess1h, conv9b32mess1h" + * "#conv9b28mess1h, #conv9b2amess1h, #conv9b32mess1h" */ euphorik.Conversations.prototype.exprIdsPotentiels = function(mess) { var exprMess = ""; this.conversations.each(function(i, conv) { - exprMess += (mess !== "" ? ", " : "") + "#" + mess.getId(conv.getId()); + exprMess += (exprMess !== "" ? ", " : "") + "#" + mess.getId(conv.getId()); }); return exprMess; }; @@ -165,7 +165,7 @@ euphorik.Conversations.prototype.rafraichireNombreMessagesRepond = function() { /** * Affiche les messages auquel l'utilisateur souhaite répondre au sein des messages des conversations. - * Utilisé lorsqu'une conversation est extraite. + * Utilisé après qu'une conversation soit extraite. */ euphorik.Conversations.prototype.afficherMessagesRepondConversations = function() { var expr = ""; @@ -380,7 +380,7 @@ euphorik.Conversations.prototype.rafraichirMessages = function(vider) { "new_troll" : function(data) { thisConversations.trollIdCourant = data.troll_id; - $("#trollCourant .troll").html(thisConversations.formater.traitementComplet(data.content)).unbind("click").click( + $("#trollCourant .troll").html(thisConversations.formater.completeProcessing(data.content)).unbind("click").click( function() { thisConversations.ouvrirConversation(data.message_id); }