mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 07:39:23 -04:00
OC-23: [Calendar] Double vertical scrollbar in week view
This commit is contained in:
parent
ca03a26f15
commit
838766add0
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue