Skip to content
Snippets Groups Projects
Commit 50965b68 authored by Patrick Hoste's avatar Patrick Hoste Committed by fw-bot
Browse files

[FIX] website_slides: can join a course in a quiz preview


PURPOSE

Fix a bug where you get a traceback when trying to join a course on a quiz
preview not in fullscreen mode.

A variable was badly named in JS (id -> channelId), leading to the ID not
being forwarded to the "Join Course" sub-widget.

LINKS

Task ID 2079476
PR #38051

closes odoo/odoo#39876

X-original-commit: b32d30b8cde85ba37f9cef975838874a08ea7c07
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 9996d04f
No related branches found
No related tags found
No related merge requests found
......@@ -327,7 +327,7 @@ odoo.define('website_slides.quiz', function (require) {
_extractChannelData: function (slideData){
return {
id: slideData.channelId,
channelId: slideData.channelId,
channelEnroll: slideData.channelEnroll,
signupAllowed: slideData.signupAllowed
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment