1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

remove delay spinner upper limit

e.g. 65 secs is perfectly valid…
close #728
This commit is contained in:
Dave Conway-Jones 2015-09-22 15:06:58 +01:00
parent 4ac9a5edf0
commit 9560dc9408
2 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";
}, },
oneditprepare: function() { oneditprepare: function() {
$( "#node-input-timeout" ).spinner({min:1,max:60}); $( "#node-input-timeout" ).spinner({min:1});
$( "#node-input-rate" ).spinner({min:1}); $( "#node-input-rate" ).spinner({min:1});
$( "#node-input-randomFirst" ).spinner({min:0}); $( "#node-input-randomFirst" ).spinner({min:0});

View File

@ -87,8 +87,8 @@ module.exports = function(RED) {
node.send(msg); node.send(msg);
}, node.timeout); }, node.timeout);
this.idList.push(id); this.idList.push(id);
if ((node.timeout > 1000) && (node.idList.length === 0)) { if ((node.timeout > 1000) && (node.idList.length !== 0)) {
node.status({fill:"blue",shape:"dot"}); node.status({fill:"blue",shape:"dot",text:" "});
} }
}); });