Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix(monthView): bind once to the ng-include template value so it does…

…n't change after render

Closes #346
  • Loading branch information...
Matt Lewis
Matt Lewis committed Jun 4, 2016
1 parent da101ab commit 48f3869c5545d1faa9792f03848791039cc0774d
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/templates/calendarMonthCell.html
  2. +1 −1 src/templates/calendarMonthView.html
@@ -29,7 +29,7 @@
<i class="fa fa-chevron-up"></i>
</div>

<ng-include src="vm.calendarConfig.templates.calendarMonthCellEvents"></ng-include>
<ng-include src=":: vm.calendarConfig.templates.calendarMonthCellEvents"></ng-include>

<div id="cal-week-box" ng-if="$first && rowHovered">
<span ng-bind="vm.calendarConfig.i18nStrings.weekNumber.replace('{week}', day.date.clone().add(1, 'day').isoWeek())"></span>
@@ -16,7 +16,7 @@
class="cal-cell1 cal-cell {{ day.highlightClass }}"
ng-click="vm.dayClicked(day, false, $event)"
ng-class="{pointer: day.events.length > 0}">
<ng-include src="vm.calendarConfig.templates.calendarMonthCell"></ng-include>
<ng-include src=":: vm.calendarConfig.templates.calendarMonthCell"></ng-include>
</div>
</div>

0 comments on commit 48f3869

Please sign in to comment.
You can’t perform that action at this time.