summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2018-04-05 12:19:26 +0200
committerJeremy Kersten <jke@odoo.com>2018-04-06 11:54:39 +0200
commit704755515a7b2a23b7cbb2124aea32354524de1f (patch)
treef8756a533f871f231413503ed5a5392b8f644a65 /addons/web/static/src/js/views/basic/basic_controller.js
parentb90b8f3d5ddd561b194f087f2337cfcfccf0614a (diff)
[FIX] website_sale: fix zoom wich was not always computed
In some case, (many JS like runbot with all modules), the onload event was binded after that the image was loaded. So the JS code that make the zoom conditionnal was not executed. Now we apply the function on all images already loaded, or that will is loading Courtesy of @ged-odoo for help and review
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions