From 348b642d253dde0675819404fca863a1324dc435 Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Wed, 29 Oct 2014 18:26:43 +0000 Subject: [PATCH] Return sensible name to display for Delay node Queue mode --- nodes/core/core/89-delay.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nodes/core/core/89-delay.html b/nodes/core/core/89-delay.html index 997a0b4e3..91de21669 100644 --- a/nodes/core/core/89-delay.html +++ b/nodes/core/core/89-delay.html @@ -116,7 +116,10 @@ } else if (this.pauseType == "random") { return this.name || "random"; } - return "foo"; + else { + var units = this.rateUnits ? this.rateUnits.charAt(0) : "s"; + return this.name || "queue" +this.rate+" msg/"+ units; + } }, labelStyle: function() { // sets the class to apply to the label return this.name?"node_label_italic":"";