projects
/
euphorik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3bfc4
)
MOD pour que le pseudo soit définit lors du premier 'register', si le navigateur...
author
Greg Burri
<greg.burri@gmail.com>
Sat, 4 Oct 2008 22:34:52 +0000
(22:34 +0000)
committer
Greg Burri
<greg.burri@gmail.com>
Sat, 4 Oct 2008 22:34:52 +0000
(22:34 +0000)
js/pageMinichat/pageMinichat.js
patch
|
blob
|
history
diff --git
a/js/pageMinichat/pageMinichat.js
b/js/pageMinichat/pageMinichat.js
index
f11dea4
..
00d1b89
100755
(executable)
--- 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...");