X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/5028701711e4a1ee85e88f5ff7f1caf911dad8e5..c654f07dd8b596abc328f1f57beef06bffa63149:/src/editor/plugins/core/edumed/choice/choiceBase.js diff --git a/src/editor/plugins/core/edumed/choice/choiceBase.js b/src/editor/plugins/core/edumed/choice/choiceBase.js index 3bd6ed5..eaf1c7c 100644 --- a/src/editor/plugins/core/edumed/choice/choiceBase.js +++ b/src/editor/plugins/core/edumed/choice/choiceBase.js @@ -12,7 +12,7 @@ var choiceBase = Object.create(elementBase); _.extend(choiceBase, { init: function() { elementBase.init.call(this); - this.view = $(_.template(template)({type: this.type})); + this.view = $(_.template(template)({type: this.type, name: this.name})); this._container().append(this.view); this.createContainer(this.wlxmlNode.contents().filter(function(n) {return !n.is('list');}), {