fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: core plugin - edumed - remove execise button
[fnpeditor.git]
/
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
dc8fe0a
..
3bd6ed5
100644
(file)
--- a/
src/editor/plugins/core/edumed/choice/choiceBase.js
+++ b/
src/editor/plugins/core/edumed/choice/choiceBase.js
@@
-4,14
+4,14
@@
define(function(require) {
var $ = require('libs/jquery'),
_ = require('libs/underscore'),
var $ = require('libs/jquery'),
_ = require('libs/underscore'),
-
documentElement = require('modules/documentCanvas/canvas/documentElement
'),
+
elementBase = require('plugins/core/edumed/elementBase
'),
template = require('libs/text!./element.html');
template = require('libs/text!./element.html');
-var choiceBase = Object.create(
documentElement.DocumentNodeElement.prototyp
e);
+var choiceBase = Object.create(
elementBas
e);
_.extend(choiceBase, {
init: function() {
_.extend(choiceBase, {
init: function() {
-
documentElement.DocumentNodeElement.prototyp
e.init.call(this);
+
elementBas
e.init.call(this);
this.view = $(_.template(template)({type: this.type}));
this._container().append(this.view);
this.view = $(_.template(template)({type: this.type}));
this._container().append(this.view);