summaryrefslogtreecommitdiff
path: root/addons/website_slides/data/slide_user_demo.xml
diff options
context:
space:
mode:
authorAntoine Guenet <age@odoo.com>2019-03-06 12:41:50 +0000
committerAntoine Guenet <age@odoo.com>2019-03-06 12:51:41 +0000
commit0374ecaeb8012d048d25d6db645043de1f6c6db2 (patch)
tree9ce8764985ee6648d0a6d21bbe040fc980887788 /addons/website_slides/data/slide_user_demo.xml
parentf1c05305151202390d275554769913a4a5de8af4 (diff)
[FIX] web_editor: properly set media dialog `onlyImages` and find video
Media dialog was trying to reach the current media's parent node, which was not possible as it was cloned on instantiation. To fix this, the `showImageDialog` now passes the `onlyImages` option upon instantiation, checking the parent's data. It also passes the media's parent if said parent is a video. This way, neither of these two things need to be done in media dialog. closes odoo/odoo#31634 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/website_slides/data/slide_user_demo.xml')
0 files changed, 0 insertions, 0 deletions