Skip to content

Commit

Permalink
fix(crontrigger): fix radio buttons when multiple cron triggers exist
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed May 3, 2017
1 parent ec9f097 commit 0c636da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="col-md-12">
<input type="radio"
value="everyDays"
name="daily-radio"
name="daily-radio-{{$ctrl.name}}"
ng-change="$ctrl.regenerateCron()"
ng-model="$ctrl.state.daily.subTab"
checked="checked">
Expand All @@ -72,7 +72,7 @@
value="everyWeekDay"
ng-change="$ctrl.regenerateCron()"
ng-model="$ctrl.state.daily.subTab"
name="daily-radio">
name="daily-radio-{{$ctrl.name}}">
Every week day
</div>
</div>
Expand Down Expand Up @@ -139,7 +139,7 @@
value="specificDay"
ng-change="$ctrl.regenerateCron()"
ng-model="$ctrl.state.monthly.subTab"
name="monthly-radio"
name="monthly-radio-{{$ctrl.name}}"
checked="checked">
On the
<select class="month-days"
Expand Down Expand Up @@ -168,7 +168,7 @@
value="specificWeekDay"
ng-change="$ctrl.regenerateCron()"
ng-model="$ctrl.state.monthly.subTab"
name="monthly-radio">
name="monthly-radio-{{$ctrl.name}}">
<select class="form-control input-sm"
ng-change="$ctrl.regenerateCron()"
ng-model="$ctrl.state.monthly.specificWeekDay.monthWeek"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<div class="col-md-9">
<cron-gen ng-model="vm.trigger.cronExpression"
options="vm.cronOptions"
name="{{vm.trigger.id}}"
template-url="spinnaker-custom-cron-picker-template"></cron-gen>
</div>
</div>
Expand Down

0 comments on commit 0c636da

Please sign in to comment.