Inject node interval error

part two of #455
This commit is contained in:
Nick O'Leary 2014-10-27 19:40:50 +00:00
parent 4c573b208c
commit 48d3b8f37a
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@
var r = "s";
var c = this.repeat;
if (this.repeat % 60 === 0) { r = "m"; c = c/60; }
if (this.repeat % 1440 === 0) { r = "h"; c = c/24; }
if (this.repeat % 1440 === 0) { r = "h"; c = c/60; }
$("#inject-time-interval-count").val(c);
$("#inject-time-interval-units").val(r);
//$("#inject-time-interval-units option").filter(function() {return $(this).val() == "s";}).attr('selected',true);