Permalink
Browse files

Date.now() is not supported in IE. Using jQuery.now() instead. Refs #678

  • Loading branch information...
1 parent f7eea53 commit 58df635e83e960cca187690310bf500acef94d5a Curtis Schiewek committed Sep 27, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 app/assets/javascripts/rails_admin/ra.filter-box.js
@@ -76,15 +76,14 @@
$("#filter_select").live('change', function() {
var option = $(this).find('option:selected')
$(this).val(''); // reset select
- //this.selectedIndex = 0;
$.filters.append(
option.data('field-label'),
option.data('field-name'),
option.data('field-type'),
option.data('field-value'),
option.data('field-operator'),
option.data('field-options'),
- Date.now()
+ $.now()
);
});

0 comments on commit 58df635

Please sign in to comment.