From 7484b7ad49ef778c26d7dbbeb98f50697c8e3767 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Sat, 4 Oct 2008 22:34:52 +0000 Subject: [PATCH] =?utf8?q?MOD=20pour=20que=20le=20pseudo=20soit=20d=C3=A9f?= =?utf8?q?init=20lors=20du=20premier=20'register',=20si=20le=20navigateur?= =?utf8?q?=20crash,=20l'utilisteur=20ne=20perdra=20pas=20son=20pseudo...?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/pageMinichat/pageMinichat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/pageMinichat/pageMinichat.js b/js/pageMinichat/pageMinichat.js index f11dea4..00d1b89 100755 --- a/js/pageMinichat/pageMinichat.js +++ b/js/pageMinichat/pageMinichat.js @@ -239,6 +239,8 @@ euphorik.PageMinichat.prototype.envoyerMessage = function(pseudo, message) { this.util.messageDialogue("Le message est vide"); return; } + + this.client.pseudo = pseudo; if (!this.client.authentifie()) { if (!this.client.enregistrement()) { @@ -247,8 +249,6 @@ euphorik.PageMinichat.prototype.envoyerMessage = function(pseudo, message) { } } - this.client.pseudo = pseudo; - // évite le double post if (this.envoieMessageEnCours) { this.util.messageDialogue("Message en cours d'envoie..."); -- 2.45.2