1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Fixes to the scheduler form

This commit is contained in:
Jared Tabor 2018-05-15 15:31:21 -07:00
parent 0eefed80e1
commit 1e6905aac4
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C
2 changed files with 7 additions and 4 deletions

View File

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

View File

@ -572,9 +572,9 @@
</form>
<div class="SchedulerFormDetail-container
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">
The scheduler options are invalid or incomplete.
The scheduler options are invalid, incomplete, or a date is in the past.
</p>
</div>
<div class="SchedulerFormDetail-container"
@ -607,7 +607,7 @@
ng-model="dateChoice"
id="date-choice-local"
value="local" >
Local time
Local Time Zone
</label>
<label class="radio-inline
SchedulerFormDetail-radioLabel">