X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=64c9379109e45ac64ce8749958bf7a4fcc3c6ff8;hp=547176f5a578fc081a7a8448764be5fda93e8236;hb=8bede29111bde3481ed8b3d6637c241c8d241544;hpb=3e001701b9e33b21a9587ada7fbe1f1e3fa178fb diff --git a/js/euphorik.js b/js/euphorik.js index 547176f..64c9379 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -682,7 +682,7 @@ Client.prototype.getJSONConversations = function() { var conversations = new Array() for (var i = 0; i < this.conversations.length; i++) - conversations.push({ "root" : this.conversations[i].root, "page" : this.conversations[i].page}) + conversations.push(this.conversations[i].root) return conversations } @@ -850,6 +850,8 @@ Client.prototype.chargerDonnees = function(data) // les conversations this.conversations = data["conversations"] + for (var i = 0; i < this.conversations.length; i++) + this.conversations[i] = {root : this.conversations[i], page : 1} this.majBulle() this.majCssSelectionee()