diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-009/communication.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-009/communication.js index a56541d6f..cbe39de58 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-009/communication.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/gemp-009/communication.js @@ -68,6 +68,21 @@ var GempLotrCommunication = Class.extend({ }); }, + getStats:function (startDay, length, callback, errorMap) { + $.ajax({ + type:"GET", + url:this.url + "/stats", + cache:false, + data:{ + startDay:startDay, + length:length, + participantId:getUrlParam("participantId") }, + success:this.deliveryCheck(callback), + error:this.errorCheck(errorMap), + dataType:"xml" + }); + }, + getLiveTournaments:function (callback, errorMap) { $.ajax({ type:"GET",