app/assets/javascripts/effective_datatables/initialize.js.coffee.erb in effective_datatables-2.1.0 vs app/assets/javascripts/effective_datatables/initialize.js.coffee.erb in effective_datatables-2.1.1
- old
+ new
@@ -88,5 +88,8 @@
new $.fn.dataTable.ColReorder(table)
$ -> initializeDataTables()
$(document).on 'page:change', -> initializeDataTables()
+
+$(document).on 'click', '.ColVis_Special', -> $.event.trigger('page:change')
+