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

feat(WeekViewWithDays): Add missing on-timespan-click callback. Closes

  • Loading branch information...
Matt Lewis
Matt Lewis committed Nov 23, 2015
1 parent da5888d commit 1c269e69096b18717a0e841e5eb2dcce047f181d
Showing with 4 additions and 1 deletion.
  1. +2 −1 src/directives/mwlCalendarWeek.js
  2. +1 −0 src/templates/calendar.html
  3. +1 −0 src/templates/calendarWeekView.html
@@ -113,7 +113,8 @@ angular
onEventTimesChanged: '=',
dayViewStart: '=',
dayViewEnd: '=',
dayViewSplit: '='
dayViewSplit: '=',
onTimespanClick: '='
},
controller: 'MwlCalendarWeekCtrl as vm',
link: function(scope, element, attrs, calendarCtrl) {
@@ -44,6 +44,7 @@
day-view-start="vm.dayViewStart"
day-view-end="vm.dayViewEnd"
day-view-split="vm.dayViewSplit"
on-timespan-click="vm.onTimespanClick"
ng-switch-when="week"
></mwl-calendar-week>

@@ -65,6 +65,7 @@
day-view-end="vm.dayViewEnd"
day-view-split="vm.dayViewSplit"
current-day="vm.currentDay"
on-timespan-click="vm.onTimespanClick"
ng-if="vm.showTimes">
</mwl-calendar-hour-list>
<div class="row" ng-if="vm.showTimes">

0 comments on commit 1c269e6

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