fixed issue with scheduler interval being treated as a string.

This commit is contained in:
John Mitchell 2015-05-07 11:31:07 -04:00
parent 326581c44f
commit aff63d9480

View File

@ -216,7 +216,7 @@ angular.module('AngularScheduler', ['underscore'])
var options = {};
options.startDate = this.scope.schedulerUTCTime;
options.frequency = this.scope.schedulerFrequency.value;
options.interval = this.scope.schedulerInterval;
options.interval = parseInt(this.scope.schedulerInterval);
if (this.scope.schedulerEnd.value === 'after') {
options.occurrenceCount = this.scope.schedulerOccurrenceCount;
}