Fixes to the scheduler form

This commit is contained in:
Jared Tabor
2018-05-15 15:31:21 -07:00
parent 0eefed80e1
commit 1e6905aac4
2 changed files with 7 additions and 4 deletions

View File

@@ -207,7 +207,10 @@ function($filter, $state, $stateParams, Wait, $scope, moment,
"yearlyOtherMonth", "yearlyOtherMonth",
"schedulerEnd", "schedulerEnd",
"schedulerOccurrenceCount", "schedulerOccurrenceCount",
"schedulerEndDt" "schedulerEndDt",
"schedulerEndHour",
"schedulerEndMinute",
"schedulerEndSecond"
], function() { ], function() {
$rootScope.$broadcast("loadSchedulerDetailPane"); $rootScope.$broadcast("loadSchedulerDetailPane");
}, true); }, true);

View File

@@ -572,9 +572,9 @@
</form> </form>
<div class="SchedulerFormDetail-container <div class="SchedulerFormDetail-container
SchedulerFormDetail-container--error" SchedulerFormDetail-container--error"
ng-show="!schedulerIsValid && scheduler_form.$dirty"> ng-show="(preview_list.isEmpty && scheduler_form.$dirty) || (!schedulerIsValid && scheduler_form.$dirty)">
<p class="SchedulerFormDetail-errorText"> <p class="SchedulerFormDetail-errorText">
The scheduler options are invalid or incomplete. The scheduler options are invalid, incomplete, or a date is in the past.
</p> </p>
</div> </div>
<div class="SchedulerFormDetail-container" <div class="SchedulerFormDetail-container"
@@ -607,7 +607,7 @@
ng-model="dateChoice" ng-model="dateChoice"
id="date-choice-local" id="date-choice-local"
value="local" > value="local" >
Local time Local Time Zone
</label> </label>
<label class="radio-inline <label class="radio-inline
SchedulerFormDetail-radioLabel"> SchedulerFormDetail-radioLabel">