diff options
| author | Jeremy Kersten <jke@odoo.com> | 2017-07-03 10:53:41 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-07-03 10:56:31 +0200 |
| commit | 15da3356a088609530b1943e6f24d734c00ccced (patch) | |
| tree | 023c8a6daaaba636a2ca2435528039c9a40bf890 /addons/web/static/src/js/views/basic | |
| parent | 4322d96a0cad9eb67c74bb60ad260473cdb4891b (diff) | |
[FIX] web: /web/image fix resize if only one limit (height or width)
The old code don't resize correctly if you use params in request.
because if '200' > 500 => return True
Now we force the casting to int to be sure to compare apple to apple.
before: /web/image/<id>?height=100 => don't return an image with height=100px
after: /web/image/<id>?height=100 => return now an image with height=100px
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
