[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#39891 X-original-commit: b32d30b8cde85ba37f9cef975838874a08ea7c07 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
@@ -422,7 +422,7 @@ odoo.define('website_slides.quiz', function (require) {
|
||||
|
||||
_extractChannelData: function (slideData){
|
||||
return {
|
||||
id: slideData.channelId,
|
||||
channelId: slideData.channelId,
|
||||
channelEnroll: slideData.channelEnroll,
|
||||
signupAllowed: slideData.signupAllowed
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user