X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=0f1eb39c1151777a3132ea6ccec48ad9cda6aeb6;hp=547176f5a578fc081a7a8448764be5fda93e8236;hb=9ca81343a4899d1d6080e88f5c9870d10706ce1b;hpb=b4ed0f1263b24504e93934dc39c5e0cdb804e311 diff --git a/js/euphorik.js b/js/euphorik.js index 547176f..0f1eb39 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() @@ -1081,7 +1083,7 @@ PageEvent.prototype.waitEvent = function(funSend, funsReceive) url: "request", dataType: "json", // Obsolète (voir TODO) - //timeout: 300000, // timeout de 5min. Gros HACK pas beau. FIXME problème décrit ici : http://groups.google.com/group/jquery-en/browse_thread/thread/8724e64af3333a76 + timeout: 180000, // timeout de 3min. Gros HACK pas beau. FIXME problème décrit ici : http://groups.google.com/group/jquery-en/browse_thread/thread/8724e64af3333a76 data: this.util.jsonVersAction(dataToSend), success: function(data)