From b3b166f6455b8556b5f14f35f8f755f26d5d87e1 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Thu, 30 Dec 2010 12:56:10 +0000 Subject: Unit tests for RrdQueryRemote --- jarmon/jarmon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jarmon/jarmon.js') diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index a66a93b..6e1d1f8 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -316,7 +316,7 @@ jarmon.RrdQueryRemote.prototype._callRemote = function(methodName, args) { }; -jarmon.RrdQueryRemote.prototype.getData = function(startTime, endTime, dsId) { +jarmon.RrdQueryRemote.prototype.getData = function(startTime, endTime, dsId, cfName) { /** * Return a Flot compatible data series asynchronously. * @@ -329,7 +329,7 @@ jarmon.RrdQueryRemote.prototype.getData = function(startTime, endTime, dsId) { if(this.lastUpdate < endTime/1000) { this._download = null; } - return this._callRemote('getData', [startTime, endTime, dsId]); + return this._callRemote('getData', [startTime, endTime, dsId, cfName]); }; /** -- cgit v1.2.3