test/dummy/tmp/cache/assets/DA4/2A0/sprockets%2Ff78aae8f781bb900e68ba4c9721fbe22 in activegrid-1.0.5 vs test/dummy/tmp/cache/assets/DA4/2A0/sprockets%2Ff78aae8f781bb900e68ba4c9721fbe22 in activegrid-1.0.6
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1318901519.1712971 öˆ:@value{ I"length:EFi3çI"digest;
-F"%212397f6a5d4f0db693567d6aff3c1eeI"source;
-FI"3ç/*!
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1319563922.157557 j:@value{ I"length:EFi1èI"digest;
+F"%09027153ce0f4e7ecacdc4d64296490fI"source;
+FI"1è/*!
* jQuery JavaScript Library v1.6.4
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
@@ -9468,24 +9468,33 @@
order = field + (newDirection == "asc" ? "" : " DESC");
updateTable();
});
// Filtering
- $(":input[data-activegrid-filter=true]", table).change(function() {
+ $("input[data-activegrid-filter=true]", table).keypress(function() {
var self = $(this);
var field = self.attr("data-activegrid-filter-field");
filterField = field;
filterValue = self.val();
updateTable();
});
+
+ $("select[data-activegrid-filter=true]", table).change(function() {
+ var self = $(this);
+ var field = self.attr("data-activegrid-filter-field");
+ filterField = field;
+ filterValue = self.val();
+ updateTable();
+ });
+
// TODO: pagination (back and forward buttons, list of pages)
});
});
function activegrid_update(element, body) {
$("#" + element + " tbody").html(body);
};
;
FI"
_version;
-F"%624b3c85bfcbf411b6a14beb4fcb85b0
+F"%63643627bf00138722d4af81400772e9
\ No newline at end of file