From f3a84eacf3e4b6b6110c3ade5fef5bb51272dcb8 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Sun, 10 Nov 2013 19:49:16 +0000 Subject: [PATCH] Added some limits to the spinners, and updated the image --- nodes/core/89-delay.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nodes/core/89-delay.html b/nodes/core/89-delay.html index 3bc05f8c8..eaeb3ca25 100644 --- a/nodes/core/89-delay.html +++ b/nodes/core/89-delay.html @@ -94,7 +94,7 @@ }, inputs:1, // set the number of inputs - only 0 or 1 outputs:1, // set the number of outputs - 0 to n - icon: "arrow-in.png", // set the icon (held in public/icons) + icon: "timer.png", // set the icon (held in public/icons) label: function() { // sets the default label contents if (this.pauseType == "delay") { var units = this.timeoutUnits ? this.timeoutUnits.charAt(0) : "s"; @@ -111,11 +111,11 @@ return this.name?"node_label_italic":""; }, oneditprepare: function() { - $( "#node-input-timeout" ).spinner(); - $( "#node-input-rate" ).spinner(); + $( "#node-input-timeout" ).spinner({min:1,max:60}); + $( "#node-input-rate" ).spinner({min:1}); - $( "#node-input-randomFirst" ).spinner(); - $( "#node-input-randomLast" ).spinner(); + $( "#node-input-randomFirst" ).spinner({min:0}); + $( "#node-input-randomLast" ).spinner({min:1}); if (this.pauseType == "delay") { $("#delay-details").show();