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":"";
},
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});

View File

@ -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:" "});
}
});