summaryrefslogtreecommitdiffstats
path: root/web/widget/checkboxes.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/widget/checkboxes.js')
-rw-r--r--web/widget/checkboxes.js12
1 files changed, 4 insertions, 8 deletions
diff --git a/web/widget/checkboxes.js b/web/widget/checkboxes.js
index a34aced..c5bd52c 100644
--- a/web/widget/checkboxes.js
+++ b/web/widget/checkboxes.js
@@ -12,21 +12,19 @@ define(
"underscore"
],
function(dom, statusBar, Base, $, _) {
- var Class = Base.extend({
+ return Base.extend({
showStatus: true,
setStatus: function(status) {
- this.super(
- Class,
- "setStatus",
- status == "invalid" ? "invalid" : null
+ Base.setStatus.call(
+ this, status == "invalid" ? "invalid" : null
);
},
render: function(data, meta) {
this.dynamic = meta.members.dynamic;
- this.super(Class, "render", data, meta);
+ Base.render.call(this, data, meta);
var table = $("<tbody>");
this.el.append($("<table>").html(table));
@@ -72,7 +70,5 @@ define(
});
}
});
-
- return Class;
}
);