aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/js
diff options
context:
space:
mode:
authorManuel Luis SanmartĂ­n Rozada2014-08-01 00:19:00 +0200
committerPim van den Berg2014-08-02 12:29:54 +0200
commited47efc05c9706ea4766b46e81ea0cfde5f9425e (patch)
tree15295e9a51cc55c50d38614ad158672e5573e855 /js
parentjsrrdgraph: Add fallback fonts. (diff)
downloadapt-panopticon_cgp-ed47efc05c9706ea4766b46e81ea0cfde5f9425e.zip
apt-panopticon_cgp-ed47efc05c9706ea4766b46e81ea0cfde5f9425e.tar.gz
apt-panopticon_cgp-ed47efc05c9706ea4766b46e81ea0cfde5f9425e.tar.bz2
apt-panopticon_cgp-ed47efc05c9706ea4766b46e81ea0cfde5f9425e.tar.xz
jsrrdgraph: Fix reduce in DEF
Diffstat (limited to 'js')
-rw-r--r--js/RrdGraph.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js
index 57adaee..48b9814 100644
--- a/js/RrdGraph.js
+++ b/js/RrdGraph.js
@@ -1330,7 +1330,7 @@ RrdGraph.prototype.data_fetch_async_callback = function (args, ft_step)
1330 if (ft_step < 0) 1330 if (ft_step < 0)
1331 return -1; 1331 return -1;
1332 that.gdes[j].data_first = 1; 1332 that.gdes[j].data_first = 1;
1333// that.gdes[j].step = Math.max(that.gdes[j].step, that.step); // FIXME 1333 that.gdes[j].step = Math.max(that.gdes[j].step, that.step);
1334 if (ft_step < that.gdes[j].step) { 1334 if (ft_step < that.gdes[j].step) {
1335 that.reduce_data(that.gdes[j], ft_step); 1335 that.reduce_data(that.gdes[j], ft_step);
1336 } else { 1336 } else {
@@ -1438,7 +1438,7 @@ RrdGraph.prototype.data_fetch = function()
1438 if (ft_step < 0) 1438 if (ft_step < 0)
1439 return -1; 1439 return -1;
1440 this.gdes[i].data_first = 1; 1440 this.gdes[i].data_first = 1;
1441// this.gdes[i].step = Math.max(this.gdes[i].step, this.step); // FIXME 1441 this.gdes[i].step = Math.max(this.gdes[i].step, this.step);
1442 if (ft_step < this.gdes[i].step) { 1442 if (ft_step < this.gdes[i].step) {
1443 this.reduce_data(this.gdes[i], ft_step); 1443 this.reduce_data(this.gdes[i], ft_step);
1444 } else { 1444 } else {