fix delay node name when using random setting

This commit is contained in:
Ben Hardill 2014-03-25 11:09:38 +00:00
parent 2a0491542d
commit 4e00ab3b2d
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@
var units = this.rateUnits ? this.rateUnits.charAt(0) : "s";
return this.name||"limit "+this.rate+" msg/"+ units;
} else if (this.pauseType == "random") {
return "random";
return this.name || "random";
}
return "foo";
},