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

Inject node: no-repeat not showing correctly

This commit is contained in:
Nicholas O'Leary 2013-10-05 22:34:48 +01:00
parent f93f599e51
commit 257525fcda

View File

@ -202,7 +202,7 @@
},
oneditprepare: function() {
var repeattype = "none";
if (parseInt(this.repeat) != 0) {
if (this.repeat != "") {
repeattype = "interval";
$("#inject-time-interval-units option").filter(function() {return $(this).val() == "s";}).attr('selected',true);
$("#inject-time-interval-count").val(this.repeat);