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
1 changed files with 1 additions and 1 deletions

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);