Skip to content
Snippets Groups Projects
Commit 838766ad authored by Bart Visscher's avatar Bart Visscher
Browse files

OC-23: [Calendar] Double vertical scrollbar in week view

parent ca03a26f
No related branches found
No related tags found
No related merge requests found
......@@ -658,6 +658,12 @@ $(document).ready(function(){
viewDisplay: function(view) {
$('#datecontrol_date').html(view.title);
$.get(OC.filePath('calendar', 'ajax', 'changeview.php') + "?v="+view.name);
if (view.name == 'agendaWeek') {
$('#calendar_holder').fullCalendar('option', 'aspectRatio', 0.1);
}
else {
$('#calendar_holder').fullCalendar('option', 'aspectRatio', 1.35);
}
},
selectable: true,
selectHelper: true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment