projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MOD Correction de petits bugs
[euphorik.git]
/
js
/
euphorik.js
diff --git
a/js/euphorik.js
b/js/euphorik.js
index
88ef6e7
..
c37ee4c
100755
(executable)
--- a/
js/euphorik.js
+++ b/
js/euphorik.js
@@
-525,6
+525,7
@@
Client.prototype.getJSONProfile = function()
"cookie" : this.cookie,
"login" : this.login,
"password" : this.password,
"cookie" : this.cookie,
"login" : this.login,
"password" : this.password,
+ "nick" : this.pseudo,
"email" : this.email,
"css" : this.css,
"main_page" : this.pagePrincipale < 1 ? 1 : this.pagePrincipale,
"email" : this.email,
"css" : this.css,
"main_page" : this.pagePrincipale < 1 ? 1 : this.pagePrincipale,
@@
-688,7
+689,7
@@
Client.prototype.flush = function(async)
return false
thisClient = this
return false
thisClient = this
- //this.util.jsonVersAction(this.getJSONProfile()).action.dump("Flush client")
+ ;;; dumpObj(this.getJSONProfile())
jQuery.ajax(
{
async: async,
jQuery.ajax(
{
async: async,
@@
-765,11
+766,12
@@
jQuery(document).ready(
})
}
})
}
- jQuery(document).unload(
+ // TODO : pourquoi jQuery(document).unload ne fonctionne pas ?
+ jQuery(window).unload(
function()
{
function()
{
- alert("ok")
- client.flush()
+
//
alert("ok")
+ client.flush(
false
)
}
)
}
)