Permalink
Browse files

🚑 error openning popup

  • Loading branch information...
GabbasovDinar committed Nov 22, 2018
1 parent 3d6c024 commit 96ff29d87bc99a8061fa6407b3cbba6171e516f7
@@ -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 96ff29d

Please sign in to comment.