From 7706fa4aca54bbaa69b2dcf8251161cca7f84a17 Mon Sep 17 00:00:00 2001 From: Younn Olivier Date: Tue, 2 Mar 2021 15:03:01 +0000 Subject: [PATCH] [FIX] website: fix image gallery miniatures disappearing When the snippet was dropped, the miniatures were disappearing and replaced by an arrow. It was due to two things: - the wrongly calculated index when the snippet was initialized, as the jquery method .index() will still return -1 when no element is found, fixed in https://github.com/odoo/odoo/pull/67389 - none of the sample images in the template were active task-2472041 closes odoo/odoo#67081 Signed-off-by: Quentin Smetz (qsm) --- addons/website/views/snippets/s_image_gallery.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/views/snippets/s_image_gallery.xml b/addons/website/views/snippets/s_image_gallery.xml index 8e8b27fd50b..43b1d1da37f 100644 --- a/addons/website/views/snippets/s_image_gallery.xml +++ b/addons/website/views/snippets/s_image_gallery.xml @@ -22,7 +22,7 @@
  • -
  • +