\r
if (!this.conversations[numConversation]) {\r
nouvelleConversation = true;\r
- this.nouvelleConversation(\r
- numConversation,\r
- function(num) { // fermeture de la conversation\r
- thisConversations.supprimerConversation(num);\r
- },\r
- function(num) { // insertion du lien vers la conversation\r
- thisPage.util.replaceSelection(\r
- $("form#posterMessage input.message")[0],\r
- "{" + thisConversations.client.conversations[num-1].root.toString(36) + "}"\r
- );\r
- }\r
- );\r
+ this.nouvelleConversation(numConversation);\r
}\r
\r
this.conversations[numConversation].ajouterMessage(message);\r
return nouvelleConversation;\r
};\r
\r
-euphorik.Conversations.prototype.nouvelleConversation = function(num, funFermer, funLien)\r
+euphorik.Conversations.prototype.nouvelleConversation = function(num)\r
{\r
var thisMessages = this;\r
\r
this.conversations[num] = new euphorik.Conversation(this, num);\r
\r
- if (funFermer) {\r
- this.conversations[num].eventFermer(funFermer);\r
- }\r
- \r
- if (funLien) {\r
- this.conversations[num].eventLien(funLien);\r
- }\r
-\r
this.conversations[num].setFunPage(\r
function(num) { // page suivante\r
thisMessages.client.pageSuivante(num - 1);\r