jquery-tablesorter 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4073991a70f6c68bfb3419ea8fbc24a74ff2e6fd
4
- data.tar.gz: 57a8f813940a33d3b7712c7bea8a13f47d88fb28
3
+ metadata.gz: fd8072fae98627808e5938c44867acc67f4da960
4
+ data.tar.gz: 0dcb8e09deb35384a953f5b410288544e0a3a0ff
5
5
  SHA512:
6
- metadata.gz: 51bee48083bdb56a2f5f71921c9604efac9da8630a4fb747c4424fecda198bf011783a926db8ac5eb088ec9ba51bcb5b6a61e60cbb307f9b4bc9f362336b3dc3
7
- data.tar.gz: 05505320b825aa46ebefabaefb98b71e6afcf280c122c784ae7915f1653206d266fc545743bf5ed6557e048062ea009b0fd0556bc0cf88a193366c0c759e7132
6
+ metadata.gz: 76c00b6f9215ca57d8954e99a60cc3fb2fdb19c53129d8a70578c920bfb3ee8a01c378bc13b32ebacdea4fa837e61299081546bf19719e6c7cf999dac3647aa9
7
+ data.tar.gz: 4a5bdaf3fda234bc2dfe8b18fc88863750c8b6c500086ca62307fe02192bfdfe1e233057eb16fb4bdda898ab72ae3c6f9d2cf5714303881862f1ddf31267f4b5
data/README.markdown CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Simple integration of jquery-tablesorter into the asset pipeline.
6
6
 
7
- Current tablesorter version: 2.14.1 (11/22/2013), [documentation]
7
+ Current tablesorter version: 2.14.2 (11/25/2013), [documentation]
8
8
 
9
9
  Any issue associate with the js/css files, please report to [Mottie's fork].
10
10
 
@@ -1,3 +1,3 @@
1
1
  module JqueryTablesorter
2
- VERSION = "1.9.1"
2
+ VERSION = "1.9.2"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  /**!
2
- * TableSorter 2.14.1 - Client-side table sorting with ease!
2
+ * TableSorter 2.14.2 - Client-side table sorting with ease!
3
3
  * @requires jQuery v1.2.6+
4
4
  *
5
5
  * Copyright (c) 2007 Christian Bach
@@ -24,7 +24,7 @@
24
24
 
25
25
  var ts = this;
26
26
 
27
- ts.version = "2.14.1";
27
+ ts.version = "2.14.2";
28
28
 
29
29
  ts.parsers = [];
30
30
  ts.widgets = [];
@@ -1,4 +1,4 @@
1
- /*! tableSorter 2.8+ widgets - updated 11/22/2013 (v2.14.1)
1
+ /*! tableSorter 2.8+ widgets - updated 11/24/2013 (v2.14.2)
2
2
  *
3
3
  * Column Styles
4
4
  * Column Filters
@@ -635,13 +635,14 @@ ts.filter = {
635
635
  c.$table.trigger('filterInit');
636
636
  },
637
637
  setDefaults: function(table, c, wo) {
638
- var indx,
638
+ var indx, isArray,
639
639
  filters = [],
640
640
  columns = c.columns;
641
641
  if (wo.filter_saveFilters && ts.storage) {
642
642
  filters = ts.storage( table, 'tablesorter-filters' ) || [];
643
+ isArray = $.isArray(filters);
643
644
  // make sure we're not just saving an empty array
644
- if (filters.join('') === '') { filters = []; }
645
+ if (isArray && filters.join('') === '' || !isArray ) { filters = []; }
645
646
  }
646
647
  // if not filters saved, then check default settings
647
648
  if (!filters.length) {
@@ -803,6 +804,7 @@ ts.filter = {
803
804
  });
804
805
  },
805
806
  findRows: function(table, filters, combinedFilters) {
807
+ if (table.config.lastCombinedFilter === combinedFilters) { return; }
806
808
  var cached, len, $rows, rowIndex, tbodyIndex, $tbody, $cells, columnIndex,
807
809
  childRow, childRowText, exact, iExact, iFilter, lastSearch, matches, result,
808
810
  searchFiltered, filterMatched, showRow, time,
@@ -72,7 +72,6 @@
72
72
  height: auto;
73
73
  margin: 0 auto;
74
74
  padding: 4px 6px;
75
- background-color: #fff;
76
75
  color: #333;
77
76
  -webkit-box-sizing: border-box;
78
77
  -moz-box-sizing: border-box;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-tablesorter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jun Lin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-23 00:00:00.000000000 Z
12
+ date: 2013-11-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties