app/assets/javascripts/effective_datatables/initialize.js.coffee.erb in effective_datatables-2.1.1 vs app/assets/javascripts/effective_datatables/initialize.js.coffee.erb in effective_datatables-2.1.2

- old
+ new

@@ -21,10 +21,10 @@ ].concat(datatable.data('column-classes') || []).concat(datatable.data('column-names') || []) order: datatable.data('default-order') serverParams: (params) -> table = this.DataTable() table.columns().flatten().each (index) => # Pass which columns are visible back to server - params['columns'][index]['visible'] = table.column(index).visible() + params['columns'][index]['visible'] = table.column(index).visible() colVis: showAll: 'Show all' restore: 'Show default' activate: 'click' align: 'right'