app/assets/javascripts/effective_datatables/reset.js.coffee in effective_datatables-4.23.0 vs app/assets/javascripts/effective_datatables/reset.js.coffee in effective_datatables-4.24.0
- old
+ new
@@ -9,15 +9,9 @@
$thead.find('select').val('').trigger('change.select2')
$inputs = $thead.find('input')
$inputs.val('').removeAttr('checked').removeAttr('selected')
- # Reset delayedChange
- $.each $inputs, (input) =>
- $input = $(input)
- if ($input.delayedChange.oldVal)
- $input.delayedChange.oldVal = undefined
-
# Reset the datatable
datatable = $table.DataTable()
# Reset search
datatable.search('').columns().search('')