X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;ds=inline;f=js%2FpageMinichat.js;h=e006f3c01194cf7c91034c441c80b9c13a80ae0b;hb=bbd4c681081a1ce88c71b99d7f66032594a28948;hp=541c98081d50e78302367c77c3ba70065bc4211b;hpb=934ab32cd6fac44f6b3ebedef69ce1ccd0b8701b;p=euphorik.git
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])