};
-Roo.each([
- 'getAutoCreate',
- 'initEvents',
- 'resize',
- 'showPrevMonth',
- 'showToday',
- 'showNextMonth',
- 'showPrevYear',
- 'showNextYear',
- 'update',
- 'findCell',
- 'findCells',
- 'findBestRow',
- 'addItem',
- 'clearEvents',
- 'renderEvents',
- 'onEventEnter',
- 'onEventLeave',
- 'onEventClick',
- 'onMonthChange',
- 'onLoad'
-
-
-], function(p) {
- Roo.log('add' + p);
- Roo.CalendarPanel.prototype[p] = Roo.boostrap.Calendar.prototype[p];
-
-});
-
Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, {
getId : function(){
return this.id;
});
+
+Roo.each([
+ 'getAutoCreate',
+ 'initEvents',
+ 'resize',
+ 'showPrevMonth',
+ 'showToday',
+ 'showNextMonth',
+ 'showPrevYear',
+ 'showNextYear',
+ 'update',
+ 'findCell',
+ 'findCells',
+ 'findBestRow',
+ 'addItem',
+ 'clearEvents',
+ 'renderEvents',
+ 'onEventEnter',
+ 'onEventLeave',
+ 'onEventClick',
+ 'onMonthChange',
+ 'onLoad'
+
+
+], function(p) {
+ Roo.log('add' + p);
+ Roo.CalendarPanel.prototype[p] = Roo.bootstrap.Calendar.prototype[p];
+
+});