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/RrdCmdLine.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 'js/RrdCmdLine.js')
-rw-r--r-- | js/RrdCmdLine.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/RrdCmdLine.js b/js/RrdCmdLine.js index c222498..48b3d9d 100644 --- a/js/RrdCmdLine.js +++ b/js/RrdCmdLine.js | |||
@@ -252,6 +252,7 @@ RrdCmdLine.prototype = { | |||
252 | break; | 252 | break; |
253 | case 'step': | 253 | case 'step': |
254 | this.graph.step = parseInt(value, 10); | 254 | this.graph.step = parseInt(value, 10); |
255 | this.graph.step_orig = this.graph.step; | ||
255 | break; | 256 | break; |
256 | case 'start': | 257 | case 'start': |
257 | case 's': | 258 | case 's': |