app/assets/javascripts/activegrid.js in activegrid-1.0.6 vs app/assets/javascripts/activegrid.js in activegrid-1.0.7
- old
+ new
@@ -53,10 +53,10 @@
order = field + (newDirection == "asc" ? "" : " DESC");
updateTable();
});
// Filtering
- $("input[data-activegrid-filter=true]", table).keypress(function() {
+ $("input[data-activegrid-filter=true]", table).keydown(function() {
var self = $(this);
var field = self.attr("data-activegrid-filter-field");
filterField = field;
filterValue = self.val();