Use automatic sizing of the content height of FullCalendar

When there is a large amount of all day events, the agenda views do not display
the time table because it computes a height of 0 (probably to keep the aspect
ratio).

issue8877
review260611002
This commit is contained in:
Cédric Krier
2019-12-05 21:34:49 +01:00
parent 3b7a2bf898
commit 78129d5d29
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
"gettext.js": "^0.5",
"c3": "^0.6",
"papaparse": "^5.0",
"fullcalendar": "^3.0",
"fullcalendar": "^3.1",
"mousetrap": "^1.6",
"bootstrap-rtl-ondemand": "^3.3.4-ondemand",
"Sortable": "sortablejs#^1.8.4"
+1
View File
@@ -46,6 +46,7 @@
header: header,
timeFormat: 'H:mm',
events: this.view.get_events.bind(this.view),
contentHeight: 'auto',
locale: Sao.i18n.getlang().slice(0, 2),
isRTL: Sao.i18n.rtl,
themeSystem: 'bootstrap3',