themouette/jquery-week-calendar — Issue #104: Fixing bug for window resize event (adjusting draggable events).
Author: christophorus
Created: 2011-12-08 16:02:58+00:00
State: open

$(window).bind(this.options.resizeEvent, function() {
self._resizeCalendar();
self.element.find('.wc-cal-event').each(function() {
var $calEvent = $(this);
$calEvent.draggable('destroy');
self._addDraggableToCalEvent($(this).data('calEvent'), $calEvent);
});
});