Permalink
Browse files

Merge pull request #687 from GabbasovDinar/11.0-web_preview-fix

🚑 error openning popup
  • Loading branch information...
yelizariev committed Nov 26, 2018
2 parents 3d6c024 + 96ff29d commit 168f6570920f115b6f3eb8ff737d8578a892c8cf
@@ -3,7 +3,7 @@
"summary": """Open attached images in popup""",
"category": "Web",
"images": ['images/screenshot-1.png'],
"version": "11.0.1.0.0",
"version": "11.0.1.0.1",
"application": False,

"author": "IT-Projects LLC, Dinar Gabbasov",
@@ -1,4 +1,9 @@
`1.0.1`
-------

**Fix:** Incorrect opening of the popup when using multiple binary fields in the model

`1.0.0`
-------

- Init version
**Init version**
@@ -70,15 +70,15 @@
<!--IMAGE-->
<t t-if="!widget.media_type or (widget.media_type and widget.media_type=='image')">
<img class="img img-responsive"
t-attf-onclick="$('#ImageModal{{ widget.media_id }}').arcticmodal()"
t-attf-onclick="$('#ImageModal_{{ widget.media_id }}_{{ widget.name }}').arcticmodal()"
t-att-src='url'
t-att-border="widget.readonly ? 0 : 1"
t-att-name="widget.name"
t-att-width="widget.nodeOptions.size ? widget.nodeOptions.size[0] : widget.attrs.img_width || widget.attrs.width"
t-att-height="widget.nodeOptions.size ? widget.nodeOptions.size[1] : widget.attrs.img_height || widget.attrs.height"/>

<div class="g-hidden">
<div class="box-modal" t-attf-id="ImageModal{{ widget.media_id }}">
<div class="box-modal" t-attf-id="ImageModal_{{ widget.media_id }}_{{ widget.name }}">
<div class="box-modal_close arcticmodal-close">X</div>
<img class="o_image img img-responsive"
t-att-src='url'

0 comments on commit 168f657

Please sign in to comment.