projects
/
euphorik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc1403
)
MOD set the user nick later
author
Greg Burri
<greg.burri@gmail.com>
Sat, 28 Mar 2009 10:01:08 +0000
(10:01 +0000)
committer
Greg Burri
<greg.burri@gmail.com>
Sat, 28 Mar 2009 10:01:08 +0000
(10:01 +0000)
js/pageMinichat.js
patch
|
blob
|
history
diff --git
a/js/pageMinichat.js
b/js/pageMinichat.js
index
abcb72b
..
aea8e2d
100755
(executable)
--- a/
js/pageMinichat.js
+++ b/
js/pageMinichat.js
@@
-242,8
+242,6
@@
euphorik.PageMinichat.prototype.envoyerMessage = function(message) {
return;
}
- this.client.nick = nick;
-
if (!this.client.authentifie()) {
if (!this.client.enregistrement()) {
this.util.messageDialog("login impossible");
@@
-258,6
+256,8
@@
euphorik.PageMinichat.prototype.envoyerMessage = function(message) {
}
this.envoieMessageEnCours = true;
+ this.client.nick = nick;
+
this.communication.requete(
"put_message",
this.getJSONMessage(nick, message),