Commit ca4a1e7d by Alan Boudreault

Merge branch 'mcq-tip-popup' into answer-min-characters

parents 538e864e d46601e3
// TODO: Split in two files // TODO: Split in two files
var mrqAttemptsTemplate = _.template($('#xblock-mrq-attempts').html());
function MessageView(element) { function MessageView(element) {
return { return {
messageDOM: $('.choice-message', element), messageDOM: $('.choice-message', element),
...@@ -93,6 +91,7 @@ function MCQBlock(runtime, element) { ...@@ -93,6 +91,7 @@ function MCQBlock(runtime, element) {
} }
function MRQBlock(runtime, element) { function MRQBlock(runtime, element) {
var mrqAttemptsTemplate = _.template($('#xblock-mrq-attempts').html());
return { return {
renderAttempts: function() { renderAttempts: function() {
var data = $('.mrq-attempts', element).data(); var data = $('.mrq-attempts', element).data();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment