diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/RrdGraph.js | 4 |
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 { |