From eb0192c1299db3c36a506b06c0e4d8e277fcc7f9 Mon Sep 17 00:00:00 2001 From: alisonjm Date: Fri, 22 Apr 2011 18:40:55 +0000 Subject: Fixed bug where name(2) not found if multi_ds=false. --- src/lib/rrdFlot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/rrdFlot.js') diff --git a/src/lib/rrdFlot.js b/src/lib/rrdFlot.js index 93d2000..3cf4ed6 100644 --- a/src/lib/rrdFlot.js +++ b/src/lib/rrdFlot.js @@ -207,7 +207,7 @@ rrdFlot.prototype.populateDScb = function() { var name=ds.getName()+"-"+ds.getType(); var name2=ds.getName(); } - else {var name=ds.getName();} + else {var name=ds.getName(); var name2=ds.getName();} var title=name; var checked=(i==0); // only first checked by default if (this.ds_graph_options[name]!=null) { -- cgit v1.2.3-2-g168b