summaryrefslogtreecommitdiff
path: root/addons/note/data/note_data.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-04-06 09:30:24 +0000
committerAaron Bohy <aab@odoo.com>2020-04-06 14:03:39 +0000
commitd997aa1574e43beb58d95cab4574029bbc8f7b8e (patch)
tree008d001c6f3b09445fd512ba7a0a88c64a90e0c0 /addons/note/data/note_data.xml
parent1766d3281eec1c23c012049f615097236e43598d (diff)
[FIX] web_tour: consume tip on kanban record drag&drop
This commit concerns tours executed in onboarding mode (the user manually follows the steps and consumes the tips). Commit [1] changed the default event type to consume a tip from 'mousedown' to 'click'. This caused an issue when a tip was attached to an element that had to be dragged and dropped. The issue has been fixed by [2]. This fix is based on the fact that draggable elements have classname 'ui-draggable-handle'. Kanban records are draggable, but their implementation uses the 'sortable' feature of jQuery instead of the 'draggable' one (the records are also sorted in their column). So [2] isn't enough in this case. For instance, in the crm tour, the tip telling to drag and drop a record to another column can't be consumed. This commit handles the case of sortable elements that have to be dragged and dropped. [1] e5bc2e7306251a55ce90adeef992840517c240e6 [2] 3f458fe06e6a629edc72428eab749068c2eba1ba closes odoo/odoo#49072 X-original-commit: 67335bda1653f592011a57146fb750d7b69cfc27 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/note/data/note_data.xml')
0 files changed, 0 insertions, 0 deletions