diff options
| author | Manuel Luis SanmartĂn Rozada | 2014-08-03 18:56:23 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2014-11-14 00:10:03 +0100 |
| commit | f183804a8775d48d093103354168127849c8f717 (patch) | |
| tree | 8e94f21f5192108ec4de10aa6baa5a439aa7af57 /js/RrdJson.js | |
| parent | jsrrdgraph: Fix invalid function call (diff) | |
| download | apt-panopticon_cgp-f183804a8775d48d093103354168127849c8f717.zip apt-panopticon_cgp-f183804a8775d48d093103354168127849c8f717.tar.gz apt-panopticon_cgp-f183804a8775d48d093103354168127849c8f717.tar.bz2 apt-panopticon_cgp-f183804a8775d48d093103354168127849c8f717.tar.xz | |
jsrrdgraph: Set original step when change time interval.
Diffstat (limited to '')
| -rw-r--r-- | js/RrdJson.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/RrdJson.js b/js/RrdJson.js index 4ddcbc2..eef555c 100644 --- a/js/RrdJson.js +++ b/js/RrdJson.js | |||
| @@ -139,6 +139,7 @@ RrdJson.prototype = { | |||
| 139 | break; | 139 | break; |
| 140 | case 'step': | 140 | case 'step': |
| 141 | this.graph.step = this.json.step; | 141 | this.graph.step = this.json.step; |
| 142 | this.graph.step_orig = this.json.step; | ||
| 142 | break; | 143 | break; |
| 143 | case 'start': | 144 | case 'start': |
| 144 | this.graph.start_t = new RrdTime(this.json.start); | 145 | this.graph.start_t = new RrdTime(this.json.start); |
