projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX problème de l'encapsulation de JSON dans de l'xml. jQuery.js a été modifié.....
[euphorik.git]
/
js
/
euphorik.js
diff --git
a/js/euphorik.js
b/js/euphorik.js
index
56c78fd
..
45b3cbd
100755
(executable)
--- a/
js/euphorik.js
+++ b/
js/euphorik.js
@@
-106,8
+106,7
@@
var messageType = {informatif: 0, question: 1, erreur: 2}
*/
Util.prototype.jsonVersAction = function(json)
{
*/
Util.prototype.jsonVersAction = function(json)
{
- // FIXME : ne plus encapsuler json dans de l'xml (problème avec yaws)
- return {action: "<json>" + JSON.stringify(json) + "</json>" }
+ return {action : JSON.stringify(json) }
}
\r
Util.prototype.md5 = function(chaine)
\r
}
\r
Util.prototype.md5 = function(chaine)
\r
@@
-569,7
+568,7
@@
Client.prototype.setStatut = function(statut)
if (typeof(statut) == "string")
\r
{
statut =
if (typeof(statut) == "string")
\r
{
statut =
- statut == "registered" ?
+ statut == "
auth_
registered" ?
statutType.auth_registered :
(statut == "auth_not_registered" ? statutType.auth_not_registered : statutType.deconnected)
\r
}
\r
statutType.auth_registered :
(statut == "auth_not_registered" ? statutType.auth_not_registered : statutType.deconnected)
\r
}
\r