From 7da108e1290b74d679c9300b759bb404095cd62c Mon Sep 17 00:00:00 2001 From: Dave C-J Date: Fri, 14 Nov 2014 23:50:49 +0000 Subject: [PATCH] Reverting fix for #489 while we debate the issue more fully.... --- nodes/core/core/20-inject.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/nodes/core/core/20-inject.html b/nodes/core/core/20-inject.html index a7c6b9bc7..39e34b621 100644 --- a/nodes/core/core/20-inject.html +++ b/nodes/core/core/20-inject.html @@ -138,12 +138,13 @@ icon: "inject.png", label: function() { if (this.payloadType === "string") { - if (this.topic !== "") { - return this.name||this.topic +" : "+this.payload||this.topic; - } - else { - return this.name||this.payload||this.topic||"inject"; - } + return this.name||this.topic||this.payload||"inject"; + //if (this.topic !== "") { + // return this.name||this.topic +" : "+this.payload||this.topic; + //} + //else { + // return this.name||this.payload||this.topic||"inject"; + //} } else { return this.name||this.topic||"inject"; } },