[FIX] website_slides: traceback while retaking quiz
Steps to reproduce ==================== 1 Open the course and try to retake the quiz. 2 Traceback while submitting the quiz. Technical =========== Due to missing closing square bracket in the attribute selector of jquery. After this commit ================== There will be no traceback while submitting the quiz. Task-3633410 closes odoo/odoo#147611 X-original-commit: eea7da64de4e6b70ea4d6b1fc277b36b278ad329 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com>
This commit is contained in:
@@ -742,7 +742,7 @@
|
||||
return slide;
|
||||
}
|
||||
// A quiz in a documentation on non fullscreen view
|
||||
return $(`.o_wslides_js_lesson_quiz[data-id="${slideId}"`).data();
|
||||
return $(`.o_wslides_js_lesson_quiz[data-id="${slideId}"]`).data();
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user