Commit bb9e39e4 authored by Joshua Gould's avatar Joshua Gould

table width

parent ab56018b
...@@ -38,7 +38,7 @@ morpheus.CheckBoxList = function(options) { ...@@ -38,7 +38,7 @@ morpheus.CheckBoxList = function(options) {
} }
var idColumn = options.columns[0]; var idColumn = options.columns[0];
for (var i = 0; i < options.columns.length; i++) { for (var i = 0; i < options.columns.length; i++) {
if (options.columns[i].isId) { if (options.columns[i].idColumn) {
idColumn = options.columns[i]; idColumn = options.columns[i];
break; break;
} }
...@@ -247,6 +247,7 @@ morpheus.CheckBoxList.prototype = { ...@@ -247,6 +247,7 @@ morpheus.CheckBoxList.prototype = {
}, },
on : function(evtStr, handler) { on : function(evtStr, handler) {
this.table.on(evtStr, handler); this.table.on(evtStr, handler);
return this;
}, },
off : function(evtStr, handler) { off : function(evtStr, handler) {
this.table.off(evtStr, handler); this.table.off(evtStr, handler);
......
This diff is collapsed.
This diff is collapsed.
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