diff options
| author | Manuel Luis SanmartĂn Rozada | 2014-01-09 00:41:48 +0100 |
|---|---|---|
| committer | Pim van den Berg | 2014-01-12 14:35:02 +0100 |
| commit | b517ceaaafa1ddce9ae60d5c7a345add7c7c6861 (patch) | |
| tree | de20dbb578475319fb3a62a61d622099440578e8 /js | |
| parent | jsrrdgraph: RrdGraph.js: Add RrdGraph.prototype.graph_paint_async method (diff) | |
| download | apt-panopticon_cgp-b517ceaaafa1ddce9ae60d5c7a345add7c7c6861.zip apt-panopticon_cgp-b517ceaaafa1ddce9ae60d5c7a345add7c7c6861.tar.gz apt-panopticon_cgp-b517ceaaafa1ddce9ae60d5c7a345add7c7c6861.tar.bz2 apt-panopticon_cgp-b517ceaaafa1ddce9ae60d5c7a345add7c7c6861.tar.xz | |
jsrrdgraph: Change alter for thow
Diffstat (limited to 'js')
| -rw-r--r-- | js/RrdGraph.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js index 8794888..40d70da 100644 --- a/js/RrdGraph.js +++ b/js/RrdGraph.js | |||
| @@ -1367,10 +1367,8 @@ RrdGraph.prototype.data_fetch_async_callback = function (args, ft_step) | |||
| 1367 | } | 1367 | } |
| 1368 | } | 1368 | } |
| 1369 | 1369 | ||
| 1370 | if (that.gdes[i].ds === -1) { | 1370 | if (that.gdes[i].ds === -1) |
| 1371 | alert("No DS called '"+that.gdes[i].ds_nam+"' in '"+that.gdes[i].rrd+"'"); | 1371 | throw new RrdGraphError("No DS called '"+that.gdes[i].ds_nam+"' in '"+that.gdes[i].rrd+"'"); |
| 1372 | return; | ||
| 1373 | } | ||
| 1374 | } | 1372 | } |
| 1375 | that.graph_paint_draw(); | 1373 | that.graph_paint_draw(); |
| 1376 | }; | 1374 | }; |
