Commit fea62382 by Valera Rozuvan

Using absolue ID instead of ID with a prefix "poll_".

parent 0f200ae8
...@@ -53,7 +53,7 @@ PollMain.prototype = { ...@@ -53,7 +53,7 @@ PollMain.prototype = {
if (_this.wrapperSectionEl !== null) { if (_this.wrapperSectionEl !== null) {
$(_this.wrapperSectionEl).find('.xmodule_ConditionalModule').each(function (index, value) { $(_this.wrapperSectionEl).find('.xmodule_ConditionalModule').each(function (index, value) {
new window.Conditional(value, _this.id); new window.Conditional(value, _this.id.replace(/^poll_/, ''));
}); });
} }
} }
......
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