This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ <h4>{{alertMessage}}</h4>
136
136
< button class ="btn btn-success " ng-click ="changeView('month', 'myCalendar1') "> Month</ button >
137
137
</ div >
138
138
</ div >
139
- < div class ="calendar " ng-model ="eventSources " calendar ="myCalendar1 " ui-calendar ="{{ uiConfig.calendar}} "> </ div >
139
+ < div class ="calendar " ng-model ="eventSources " calendar ="myCalendar1 " ui-calendar ="uiConfig.calendar "> </ div >
140
140
</ tab >
141
141
< tab select ="renderCalender('myCalendar2'); ">
142
142
< tab-heading >
@@ -153,7 +153,7 @@ <h4>{{alertMessage}}</h4>
153
153
< button class ="btn btn-success " ng-click ="changeView('month', 'myCalendar2') "> Month</ button >
154
154
</ div >
155
155
</ div >
156
- < div class ="calendar " ng-model ="eventSources " calendar ="myCalendar2 " ui-calendar ="{{ uiConfig.calendar}} "> </ div >
156
+ < div class ="calendar " ng-model ="eventSources " calendar ="myCalendar2 " ui-calendar ="uiConfig.calendar "> </ div >
157
157
</ tab >
158
158
< tab select ="renderCalender('myCalendar3'); ">
159
159
< tab-heading >
@@ -170,7 +170,7 @@ <h4>This calendar uses the extended form</h4>
170
170
< button class ="btn btn-success " ng-click ="changeView('month', 'myCalendar3') "> Month</ button >
171
171
</ div >
172
172
</ div >
173
- < div class ="calendar " ng-model ="eventSources2 " calendar ="myCalendar3 " ui-calendar ="{{ uiConfig.calendar}} "> </ div >
173
+ < div class ="calendar " ng-model ="eventSources2 " calendar ="myCalendar3 " ui-calendar ="uiConfig.calendar "> </ div >
174
174
</ tab >
175
175
</ tabset >
176
176
</ div >
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ angular.module('ui.calendar', [])
226
226
options = null ;
227
227
228
228
function getOptions ( ) {
229
- var calendarSettings = attrs . uiCalendar ? scope . $eval ( attrs . uiCalendar ) : { } ,
229
+ var calendarSettings = attrs . uiCalendar ? scope . $parent . $ eval( attrs . uiCalendar ) : { } ,
230
230
fullCalendarConfig ;
231
231
232
232
fullCalendarConfig = controller . getFullCalendarConfig ( calendarSettings , uiCalendarConfig ) ;
You can’t perform that action at this time.
0 commit comments