|
|
@@ -804,7 +804,7 @@
|
|
|
$keepOpen.find('input').off('click').on('click', function () {
|
|
|
var $this = $(this);
|
|
|
|
|
|
- that.toggleColumn($this.val(), $this.prop('checked'), false);
|
|
|
+ that.toggleColumn(getFieldIndex(that.options.columns, $(this).data('field')), $this.prop('checked'), false);
|
|
|
that.trigger('column-switch', $(this).data('field'), $this.prop('checked'));
|
|
|
});
|
|
|
}
|