Commit d46601e3 by Alan Boudreault

Fix Studio issue related to ajax loading

parent d1af936a
// TODO: Split in two files
var mrqAttemptsTemplate = _.template($('#xblock-mrq-attempts').html());
function MessageView(element) {
return {
messageDOM: $('.choice-message', element),
......@@ -93,6 +91,7 @@ function MCQBlock(runtime, element) {
}
function MRQBlock(runtime, element) {
var mrqAttemptsTemplate = _.template($('#xblock-mrq-attempts').html());
return {
renderAttempts: function() {
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