fix for calendar rendering problems.
This commit is contained in:
parent
24da57ae4f
commit
8d3482b851
5 changed files with 14 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div id='schedule_calendar' class="ui-widget-content block-shadow omega-block padded fc"></div>
|
<div id='schedule_calendar' class="ui-widget-content block-shadow padded"></div>
|
||||||
|
|
||||||
<ul id="schedule_event_default_menu" class="contextMenu">
|
<ul id="schedule_event_default_menu" class="contextMenu">
|
||||||
<?php echo $this->partialLoop('library/contextMenuPartial.phtml', $this->eventDefaultMenu) ?>
|
<?php echo $this->partialLoop('library/contextMenuPartial.phtml', $this->eventDefaultMenu) ?>
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
body {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#schedule-add-show,
|
#schedule-add-show,
|
||||||
#fullcalendar_show_display {
|
#fullcalendar_show_display {
|
||||||
|
|
|
@ -3,8 +3,8 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#schedule_calendar {
|
#schedule_calendar {
|
||||||
width:98%
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.ui-datepicker {
|
div.ui-datepicker {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
}
|
}
|
||||||
|
@ -127,6 +127,3 @@ div.ui-datepicker {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fc-agenda-body {
|
|
||||||
max-height:560px;
|
|
||||||
}
|
|
||||||
|
|
|
@ -128,8 +128,11 @@ $(document).ready(function() {
|
||||||
eventRender: eventRender
|
eventRender: eventRender
|
||||||
});
|
});
|
||||||
|
|
||||||
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
});
|
||||||
|
|
||||||
|
$(window).load(function() {
|
||||||
|
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
||||||
|
|
||||||
$('#fullcalendar_show_display').fullCalendar('option', 'contentHeight', mainHeight);
|
$('#fullcalendar_show_display').fullCalendar('option', 'contentHeight', mainHeight);
|
||||||
|
$('#fullcalendar_show_display').fullCalendar('render');
|
||||||
});
|
});
|
||||||
|
|
|
@ -256,9 +256,12 @@ $(document).ready(function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
});
|
||||||
|
|
||||||
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
$(window).load(function() {
|
||||||
|
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
||||||
|
|
||||||
|
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
||||||
|
$('#schedule_calendar').fullCalendar('render');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue