summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorKhoi Nguyen <bng@odoo.com>2017-07-28 16:34:19 +0200
committerKhoi Nguyen <bng@odoo.com>2017-07-31 13:52:53 +0200
commita752e7d1458b1d689a028fcf89b582ae74333d49 (patch)
tree8372312e54d47fcca8924f259c0b996205d0e029 /addons/web/static/src/js/views/basic/basic_controller.js
parenta1f7aa3362eded33f7142e218e74acad98367511 (diff)
[FIX] web: make calendar adapt to screen size
This commit aims to reproduce saas-15 behaviour when rendering the calendar. More explicitely, in favourable conditions, we would like the calendar to be contained in a scroller adapted to the screen dimensions. To do so, we require that the calendar only use the height given by its parent container (in case of overflow, the calendar should have its own scrollbars). We then trigger a 'resize' event to account for a bad initial render of the calendar.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions