X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageMinichat.js;h=e006f3c01194cf7c91034c441c80b9c13a80ae0b;hp=541c98081d50e78302367c77c3ba70065bc4211b;hb=327c3bd99f586f3cf3af55f9adb10a71eb78cdd4;hpb=696cf94315883382f4057fda2bff8b9deca70287 diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 541c980..e006f3c 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -514,9 +514,9 @@ Conversation.prototype.flush = function(funClickOuvrirConv) "\">" + "
>
" + "[" + message.date + "]" + - "" + message.auteurId + "" + identifiant + ":" + + "" + message.auteurId + "" + identifiant + ":" + XHTMLrepondA + - "" + (message.systeme ? this.formateur.remplacerBalisesHTML(message.contenu) : this.formateur.traitementComplet(message.contenu, message.pseudo)) + "" + + "" + this.formateur.traitementComplet(message.contenu, message.pseudo) + "" + "" messagePair = !messagePair @@ -531,7 +531,7 @@ Conversation.prototype.flush = function(funClickOuvrirConv) $("#conversations #" + this.getId() + " .message").slice(this.nbMessageMax, nbMessagesAffiche).empty() // ajoute les événements liés à chaque nouveau message - $("#conversations #" + this.getId() + " .message").filter(function(){return parseInt($(this).attr("id").substr(4), 36) > thisConversation.idDernierMessageAffiche}).each( + $("#conversations #" + this.getId() + " .message").filter(function(){ return parseInt($(this).attr("id").substr(4), 36) > thisConversation.idDernierMessageAffiche }).each( function() { $(".lienConv", this).click( @@ -599,7 +599,7 @@ Conversation.prototype.flush = function(funClickOuvrirConv) var valCourant = $("input.message").val() if (valCourant == undefined) valCourant = "" - var tag = $(".pseudo", this).text() + "{" + idMess + "}" + ">" + var tag = $(".pseudo span.ident", this).text() + "{" + idMess + "}" + ">" if (valCourant.indexOf(tag, 0) == -1) $("input.message").val(tag + " " + valCourant) thisConversation.util.setCaretToEnd($("form input.message")[0])