changeset c318e2c8021b in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=c318e2c8021b
description:
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
diffstat:
bower.json | 2 +-
src/view/calendar.js | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r fdc682dc2809 -r c318e2c8021b bower.json
--- a/bower.json Tue Dec 03 22:59:33 2019 +0100
+++ b/bower.json Thu Dec 05 21:34:49 2019 +0100
@@ -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"
diff -r fdc682dc2809 -r c318e2c8021b src/view/calendar.js
--- a/src/view/calendar.js Tue Dec 03 22:59:33 2019 +0100
+++ b/src/view/calendar.js Thu Dec 05 21:34:49 2019 +0100
@@ -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',