fix a calendar bug

This commit is contained in:
rolux 2012-01-30 01:12:53 +05:30
parent e51c4aa847
commit 1b42a4e7f1

View file

@ -1038,8 +1038,8 @@ Ox.Calendar = function(options, self) {
// self.options.height - 56 // 24 + 16 + 16 // self.options.height - 56 // 24 + 16 + 16
); );
self.$content.css({height: self.contentHeight + 'px'}); self.$content.css({height: self.contentHeight + 'px'});
$('.OxBackground').empty(); that.$element.find('.OxBackground').empty();
$('.OxEvent').remove(); that.$element.find('.OxEvent').remove();
renderBackground(); renderBackground();
renderTimelines(); renderTimelines();
renderOverlay(); renderOverlay();