[FIX] web: image fields re-render on next/previous
authorDenis Ledoux <dle@odoo.com>
Mon, 11 Aug 2014 12:39:50 +0000 (14:39 +0200)
committerDenis Ledoux <dle@odoo.com>
Mon, 11 Aug 2014 12:39:50 +0000 (14:39 +0200)
commit3632949cffb24180832e18a3f19a6d02bd8e8729
tree22ea0b2a06b27d3e4eae23f04bde779903309ec8
parent2b0487113aa4218655b039289b0657c4723ded3f
[FIX] web: image fields re-render on next/previous

By default, on binary images read, the server returns the binary size
This is possible that two images have the exact same size
Therefore we trigger the change in case the image value hasn't changed
So the image is re-rendered correctly
addons/web/static/src/js/view_form.js