mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 18:38:41 -06:00
[FIX] - attachment_preview: Fixed error in enterprise version
Added secondary css jquery selector to include the preview buttons in community and enterprise versions.
This commit is contained in:
parent
e08037aaf5
commit
714004baf7
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<templates>
|
<templates>
|
||||||
<t t-extend="Sidebar">
|
<t t-extend="Sidebar">
|
||||||
<t t-jquery="span.oe_sidebar_delete_item" t-operation="before">
|
<t t-jquery="span.o_sidebar_delete_attachment, span.oe_sidebar_delete_item" t-operation="before">
|
||||||
<span t-if="section.name == 'files' and !item.callback and item.url" class="oe_sidebar_attachment_preview" t-att-data-id="item.id" t-att-data-url="item.url" t-attf-title="Preview #{item.name}">
|
<span t-if="section.name == 'files' and !item.callback and item.url" class="oe_sidebar_attachment_preview" t-att-data-id="item.id" t-att-data-url="item.url" t-attf-title="Preview #{item.name}">
|
||||||
<i class="fa fa-search"/>
|
<i class="fa fa-search"/>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user