X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FCalendarPanel.js;h=1755aa4a64eb291824991c15be6d5cc1660ae0b6;hb=refs%2Fheads%2Fwip_leon_T7094_logo_image_upload_in_boilerplate;hp=5371e07a8d1cf7fd5007f29ffe708cc51639905a;hpb=18d2b7cfea76c78e73b0b191b8653cf0f58b96cb;p=roojs1 diff --git a/Roo/CalendarPanel.js b/Roo/CalendarPanel.js index 5371e07a8d..1755aa4a64 100644 --- a/Roo/CalendarPanel.js +++ b/Roo/CalendarPanel.js @@ -42,7 +42,7 @@ Roo.CalendarPanel = function(config){ } this.view = new Roo.calendar.View(Roo.apply({ skipNavHeader : true, - skipMonthHeader : true + skipMonthHeader : false },config)); @@ -158,9 +158,9 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, { this.view.el = ct.createChild(cfg, position); - if(this.tabIndex !== undefined){ - this.el.dom.setAttribute('tabIndex', this.tabIndex); - } + //if(this.tabIndex !== undefined){ + // this.el.dom.setAttribute('tabIndex', this.tabIndex); + //} this.view.initEvents(); @@ -172,33 +172,4 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, { }); - - -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]; -});