summaryrefslogtreecommitdiff
path: root/addons/website_slides/controllers
diff options
context:
space:
mode:
authorAurélien Warnon <awa@odoo.com>2019-08-07 06:21:52 +0000
committerThibault Delavallée <tde@odoo.com>2019-08-08 08:37:07 +0000
commit3716a9b2616bd4269590c3ec85a1c84b81143195 (patch)
treea232bc2cd9713ede2ceaecbbb24ff392eaf2095a /addons/website_slides/controllers
parent6e6b6355571ae4cfcaeb68e88b5f1822616a177b (diff)
[FIX] website_slides: fix pdfjs library loading
This is (most likely) related to #32181 which lazy loads most assets. That caused an issue where the global 'Util' variable from PDFJS can be (depending of which libraries load first) overridden by the global 'Util' variable of bootstrap. (See 'lib/bootstrap/js/util.js' and 'lib/pdfjs/src/shared/util.js') This commit ensures that the global 'Util' variable is set to the one of PDFJS right before it's used. Eventually, we should update or get rid of one of the two libraries since they're not compatible together, or make a wrapper that makes them compatible. In the mean time, this small fix allows not refactoring all of this and can not cause much harm.
Diffstat (limited to 'addons/website_slides/controllers')
0 files changed, 0 insertions, 0 deletions