From 9560dc9408758a8974ecdbb5c47d22f6da33fce4 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 22 Sep 2015 15:06:58 +0100 Subject: [PATCH] remove delay spinner upper limit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit e.g. 65 secs is perfectly valid… close #728 --- nodes/core/core/89-delay.html | 2 +- nodes/core/core/89-delay.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nodes/core/core/89-delay.html b/nodes/core/core/89-delay.html index ff2cd6610..f060c8f6e 100644 --- a/nodes/core/core/89-delay.html +++ b/nodes/core/core/89-delay.html @@ -125,7 +125,7 @@ return this.name?"node_label_italic":""; }, oneditprepare: function() { - $( "#node-input-timeout" ).spinner({min:1,max:60}); + $( "#node-input-timeout" ).spinner({min:1}); $( "#node-input-rate" ).spinner({min:1}); $( "#node-input-randomFirst" ).spinner({min:0}); diff --git a/nodes/core/core/89-delay.js b/nodes/core/core/89-delay.js index ac4fbfba6..e25bc1b46 100644 --- a/nodes/core/core/89-delay.js +++ b/nodes/core/core/89-delay.js @@ -87,8 +87,8 @@ module.exports = function(RED) { node.send(msg); }, node.timeout); this.idList.push(id); - if ((node.timeout > 1000) && (node.idList.length === 0)) { - node.status({fill:"blue",shape:"dot"}); + if ((node.timeout > 1000) && (node.idList.length !== 0)) { + node.status({fill:"blue",shape:"dot",text:" "}); } });