jquery-tablesorter 1.9.3 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 549c6f6e362d81047b6a9082c4529dacaf1c5b71
4
- data.tar.gz: 6e02e0c0162e732cb5a39ae23c88054ab408bec4
3
+ metadata.gz: 3197fec8f63b2bf5f4bf265cbc7fff3c9b5c9d64
4
+ data.tar.gz: 48a40143f43d45f1404a54ad46c43959dc6978b0
5
5
  SHA512:
6
- metadata.gz: 57c564f0b5230be77f87fbe0850f51f61503da47636f55bf761b48649937e63ace422bc27570e14fe7dee8fedac93c9f0000754b993fd8dcb0da46720cec3b3a
7
- data.tar.gz: 4fd4f5eb7fcc1b3799c3218160be416b6815da30e5c0436274854517bcebe952794892a4d580b0a4ac15f0f2ffab50ccde730bab03aab43a134c93bb2ded4ff1
6
+ metadata.gz: d89b878769d2f9960910a39cf92aa581cc3c5aea9c16c030d7ed44fea5edaa1ed8dbb471638ddba01648bcdcd79198545cd5dc20f54005cfb3619b831b02ea95
7
+ data.tar.gz: 083257783323b9725db25918f53981af9ebbeed7d24420c78d58a6ddde49a5c887a8d5f97eeb7024f1e3c62191ba834c952a283eb724efef31b1b7ddc99129b0
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.3 (12/2/2013), [documentation]
7
+ Current tablesorter version: 2.14.4 (12/14/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.3"
2
+ VERSION = "1.9.4"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * tablesorter pager plugin
3
- * updated 12/2/2013 (v2.14.3)
3
+ * updated 12/14/2013 (v2.14.4)
4
4
  */
5
5
  /*jshint browser:true, jquery:true, unused:false */
6
6
  ;(function($) {
@@ -120,10 +120,11 @@
120
120
  var i, pg, s, out,
121
121
  c = table.config,
122
122
  f = c.$table.hasClass('hasFilters') && !p.ajaxUrl,
123
- t = (c.widgetOptions && c.widgetOptions.filter_filteredRow || 'filtered') + ',' + c.selectorRemove,
123
+ t = (c.widgetOptions && c.widgetOptions.filter_filteredRow || 'filtered') + ',' + c.selectorRemove +
124
+ (p.countChildRows ? '' : ',.' + c.cssChildRow),
124
125
  sz = p.size || 10; // don't allow dividing by zero
125
126
  p.totalPages = Math.ceil( p.totalRows / sz ); // needed for "pageSize" method
126
- p.filteredRows = (f) ? c.$tbodies.eq(0).children('tr:not(.' + t + ')').length : p.totalRows;
127
+ p.filteredRows = (f) ? c.$tbodies.eq(0).children('tr').not('.' + t ).length : p.totalRows;
127
128
  p.filteredPages = (f) ? Math.ceil( p.filteredRows / sz ) || 1 : p.totalPages;
128
129
  if ( Math.min( p.totalPages, p.filteredPages ) >= 0 ) {
129
130
  t = (p.size * p.page > p.filteredRows);
@@ -271,7 +272,7 @@
271
272
  //ensure a zero returned row count doesn't fail the logical ||
272
273
  rr_count = result[t ? 1 : 0];
273
274
  p.totalRows = isNaN(rr_count) ? p.totalRows || 0 : rr_count;
274
- d = result[t ? 0 : 1] || []; // row data
275
+ d = p.totalRows === 0 ? [] : result[t ? 0 : 1] || []; // row data
275
276
  th = result[2]; // headers
276
277
  }
277
278
  l = d.length;
@@ -329,12 +330,12 @@
329
330
  fixHeight(table, p);
330
331
  // apply widgets after table has rendered
331
332
  $t.trigger('applyWidgets');
332
- if (p.initialized) {
333
- $t.trigger('pagerChange', p);
334
- $t.trigger('updateComplete');
335
- } else {
336
- $t.trigger('update');
337
- }
333
+ $t.trigger('update', [false, function(){
334
+ if (p.initialized) {
335
+ $t.trigger('updateComplete');
336
+ $t.trigger('pagerChange', p);
337
+ }
338
+ }]);
338
339
  }
339
340
  if (!p.initialized) {
340
341
  p.initialized = true;
@@ -612,9 +613,10 @@
612
613
  }
613
614
 
614
615
  $t
615
- .unbind('filterStart filterEnd sortEnd disable enable destroy update pageSize '.split(' ').join('.pager '))
616
+ .unbind('filterStart filterEnd sortEnd disable enable destroy update updateRows updateAll addRows pageSize '.split(' ').join('.pager '))
616
617
  .bind('filterStart.pager', function(e, filters) {
617
618
  p.currentFilters = filters;
619
+ p.page = 0; // fixes #456
618
620
  })
619
621
  // update pager after filter widget completes
620
622
  .bind('filterEnd.pager sortEnd.pager', function() {
@@ -636,7 +638,7 @@
636
638
  e.stopPropagation();
637
639
  destroyPager(table, p);
638
640
  })
639
- .bind('update.pager', function(e){
641
+ .bind('update updateRows updateAll addRows '.split(' ').join('.pager '), function(e){
640
642
  e.stopPropagation();
641
643
  hideRows(table, p);
642
644
  })
@@ -1,5 +1,5 @@
1
1
  /**!
2
- * TableSorter 2.14.3 - Client-side table sorting with ease!
2
+ * TableSorter 2.14.4 - 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.3";
27
+ ts.version = "2.14.4";
28
28
 
29
29
  ts.parsers = [];
30
30
  ts.widgets = [];
@@ -814,28 +814,34 @@
814
814
  })
815
815
  .bind("addRows.tablesorter", function(e, $row, resort, callback) {
816
816
  e.stopPropagation();
817
- var i, rows = $row.filter('tr').length,
818
- dat = [], l = $row[0].cells.length,
819
- tbdy = $this.find('tbody').index( $row.parents('tbody').filter(':first') );
820
- // fixes adding rows to an empty table - see issue #179
821
- if (!c.parsers) {
822
- buildParserCache(table);
823
- }
824
- // add each row
825
- for (i = 0; i < rows; i++) {
826
- // add each cell
827
- for (j = 0; j < l; j++) {
828
- dat[j] = c.parsers[j].format( getElementText(table, $row[i].cells[j], j), table, $row[i].cells[j], j );
817
+ if (isEmptyObject(c.cache)) {
818
+ // empty table, do an update instead - fixes #450
819
+ updateHeader(table);
820
+ commonUpdate(table, resort, callback);
821
+ } else {
822
+ var i, rows = $row.filter('tr').length,
823
+ dat = [], l = $row[0].cells.length,
824
+ tbdy = $this.find('tbody').index( $row.parents('tbody').filter(':first') );
825
+ // fixes adding rows to an empty table - see issue #179
826
+ if (!c.parsers) {
827
+ buildParserCache(table);
829
828
  }
830
- // add the row index to the end
831
- dat.push(c.cache[tbdy].row.length);
832
- // update cache
833
- c.cache[tbdy].row.push([$row[i]]);
834
- c.cache[tbdy].normalized.push(dat);
835
- dat = [];
829
+ // add each row
830
+ for (i = 0; i < rows; i++) {
831
+ // add each cell
832
+ for (j = 0; j < l; j++) {
833
+ dat[j] = c.parsers[j].format( getElementText(table, $row[i].cells[j], j), table, $row[i].cells[j], j );
834
+ }
835
+ // add the row index to the end
836
+ dat.push(c.cache[tbdy].row.length);
837
+ // update cache
838
+ c.cache[tbdy].row.push([$row[i]]);
839
+ c.cache[tbdy].normalized.push(dat);
840
+ dat = [];
841
+ }
842
+ // resort using current settings
843
+ checkResort($this, resort, callback);
836
844
  }
837
- // resort using current settings
838
- checkResort($this, resort, callback);
839
845
  })
840
846
  .bind("sorton.tablesorter", function(e, list, callback, init) {
841
847
  var c = table.config;
@@ -1,4 +1,4 @@
1
- /*! tableSorter 2.8+ widgets - updated 12/2/2013 (v2.14.3)
1
+ /*! tableSorter 2.8+ widgets - updated 12/14/2013 (v2.14.4)
2
2
  *
3
3
  * Column Styles
4
4
  * Column Filters
@@ -371,7 +371,7 @@ ts.addWidget({
371
371
  $table
372
372
  .removeClass('hasFilters')
373
373
  // add .tsfilter namespace to all BUT search
374
- .unbind('addRows updateCell update updateComplete appendCache search filterStart filterEnd '.split(' ').join('.tsfilter '))
374
+ .unbind('addRows updateCell update updateRows updateComplete appendCache filterReset filterEnd search '.split(' ').join('.tsfilter '))
375
375
  .find('.tablesorter-filter-row').remove();
376
376
  for (tbodyIndex = 0; tbodyIndex < $tbodies.length; tbodyIndex++ ) {
377
377
  $tbody = ts.processTbody(table, $tbodies.eq(tbodyIndex), true); // remove tbody
@@ -555,8 +555,7 @@ ts.filter = {
555
555
  }
556
556
  if (event.type === 'filterReset') {
557
557
  ts.filter.searching(table, []);
558
- }
559
- if (event.type === 'filterEnd') {
558
+ } else if (event.type === 'filterEnd') {
560
559
  ts.filter.buildDefault(table, true);
561
560
  } else {
562
561
  // send false argument to force a new search; otherwise if the filter hasn't changed, it will return
@@ -754,7 +753,12 @@ ts.filter = {
754
753
  }
755
754
  // return if the last search is the same; but filter === false when updating the search
756
755
  // see example-widget-filter.html filter toggle buttons
757
- if (c.lastCombinedFilter === combinedFilters && filter !== false) { return; }
756
+ if (c.lastCombinedFilter === combinedFilters && filter !== false) {
757
+ return;
758
+ } else if (filter === false) {
759
+ // force filter refresh
760
+ c.lastCombinedFilter = null;
761
+ }
758
762
  c.$table.trigger('filterStart', [filters]);
759
763
  if (c.showProcessing) {
760
764
  // give it time for the processing icon to kick in
@@ -923,7 +927,7 @@ ts.filter = {
923
927
  $rows[rowIndex].style.display = (showRow ? '' : 'none');
924
928
  $rows.eq(rowIndex)[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow);
925
929
  if (childRow.length) {
926
- if (c.pager && c.pager.countChildRows || wo.pager_countChildRows) {
930
+ if (c.pager && c.pager.countChildRows || wo.pager_countChildRows || wo.filter_childRows) {
927
931
  childRow[showRow ? 'removeClass' : 'addClass'](wo.filter_filteredRow); // see issue #396
928
932
  }
929
933
  childRow.toggle(showRow);
@@ -1054,6 +1058,7 @@ ts.addWidget({
1054
1058
  priority: 60, // sticky widget must be initialized after the filter widget!
1055
1059
  options: {
1056
1060
  stickyHeaders : '', // extra class name added to the sticky header row
1061
+ stickyHeaders_attachTo : null, // jQuery selector or object to attach sticky header to
1057
1062
  stickyHeaders_offset : 0, // number or jquery selector targeting the position:fixed element
1058
1063
  stickyHeaders_cloneId : '-sticky', // added to table ID, if it exists
1059
1064
  stickyHeaders_addResizeEvent : true, // trigger "resize" event on headers
@@ -1064,21 +1069,24 @@ ts.addWidget({
1064
1069
  if (c.$table.hasClass('hasStickyHeaders')) { return; }
1065
1070
  var $cell,
1066
1071
  $table = c.$table,
1067
- $win = $(window),
1072
+ $attach = $(wo.stickyHeaders_attachTo),
1068
1073
  $thead = $table.children('thead:first'),
1074
+ $win = $attach.length ? $attach : $(window),
1069
1075
  $header = $thead.children('tr').not('.sticky-false').children(),
1070
1076
  innerHeader = '.tablesorter-header-inner',
1071
1077
  $tfoot = $table.find('tfoot'),
1072
1078
  filterInputs = '.tablesorter-filter',
1073
1079
  $stickyOffset = isNaN(wo.stickyHeaders_offset) ? $(wo.stickyHeaders_offset) : '',
1074
- stickyOffset = $stickyOffset.length ? $stickyOffset.height() || 0 : parseInt(wo.stickyHeaders_offset, 10) || 0,
1080
+ stickyOffset = $attach.length ? 0 : $stickyOffset.length ?
1081
+ $stickyOffset.height() || 0 : parseInt(wo.stickyHeaders_offset, 10) || 0,
1075
1082
  $stickyTable = wo.$sticky = $table.clone()
1076
1083
  .addClass('containsStickyHeaders')
1077
1084
  .css({
1078
- position : 'fixed',
1085
+ position : $attach.length ? 'absolute' : 'fixed',
1079
1086
  margin : 0,
1080
1087
  top : stickyOffset,
1081
- visibility : 'hidden',
1088
+ left : 0,
1089
+ visibility : $attach.length ? 'visible' : 'hidden',
1082
1090
  zIndex : wo.stickyHeaders_zIndex ? wo.stickyHeaders_zIndex : 2
1083
1091
  }),
1084
1092
  $stickyThead = $stickyTable.children('thead:first').addClass('tablesorter-stickyHeader ' + wo.stickyHeaders),
@@ -1097,7 +1105,9 @@ ts.addWidget({
1097
1105
  spacing = parseInt($header.eq(0).css('border-left-width'), 10) * 2;
1098
1106
  }
1099
1107
  $stickyTable.css({
1100
- left : $thead.offset().left - $win.scrollLeft() - spacing,
1108
+ left : $attach.length ? parseInt($table.css('padding-left'), 10) +
1109
+ parseInt($table.css('margin-left'), 10) + parseInt($table.css('border-left-width'), 10) :
1110
+ $thead.offset().left - $win.scrollLeft() - spacing,
1101
1111
  width: $table.width()
1102
1112
  });
1103
1113
  $stickyCells.filter(':visible').each(function(i) {
@@ -1166,23 +1176,27 @@ ts.addWidget({
1166
1176
  });
1167
1177
  // add stickyheaders AFTER the table. If the table is selected by ID, the original one (first) will be returned.
1168
1178
  $table.after( $stickyTable );
1179
+
1169
1180
  // make it sticky!
1170
1181
  $win.bind('scroll.tsSticky resize.tsSticky', function(event) {
1171
1182
  if (!$table.is(':visible')) { return; } // fixes #278
1172
1183
  var prefix = 'tablesorter-sticky-',
1173
1184
  offset = $table.offset(),
1174
1185
  captionHeight = (wo.stickyHeaders_includeCaption ? 0 : $table.find('caption').outerHeight(true)),
1175
- scrollTop = $win.scrollTop() + stickyOffset - captionHeight,
1186
+ scrollTop = ($attach.length ? $attach.offset().top : $win.scrollTop()) + stickyOffset - captionHeight,
1176
1187
  tableHeight = $table.height() - ($stickyTable.height() + ($tfoot.height() || 0)),
1177
- isVisible = (scrollTop > offset.top) && (scrollTop < offset.top + tableHeight) ? 'visible' : 'hidden';
1188
+ isVisible = (scrollTop > offset.top) && (scrollTop < offset.top + tableHeight) ? 'visible' : 'hidden',
1189
+ cssSettings = { visibility : isVisible };
1190
+ if ($attach.length) {
1191
+ cssSettings.top = $attach.scrollTop();
1192
+ } else {
1193
+ // adjust when scrolling horizontally - fixes issue #143
1194
+ cssSettings.left = $thead.offset().left - $win.scrollLeft() - spacing;
1195
+ }
1178
1196
  $stickyTable
1179
1197
  .removeClass(prefix + 'visible ' + prefix + 'hidden')
1180
1198
  .addClass(prefix + isVisible)
1181
- .css({
1182
- // adjust when scrolling horizontally - fixes issue #143
1183
- left : $thead.offset().left - $win.scrollLeft() - spacing,
1184
- visibility : isVisible
1185
- });
1199
+ .css(cssSettings);
1186
1200
  if (isVisible !== laststate || event.type === 'resize') {
1187
1201
  // make sure the column widths match
1188
1202
  resizeHeader();
@@ -0,0 +1,139 @@
1
+ /*************
2
+ Bootstrap 2 Theme
3
+ *************/
4
+ /* jQuery Bootstrap 2 Theme */
5
+ .tablesorter-bootstrap {
6
+ width: 100%;
7
+ }
8
+ .tablesorter-bootstrap .tablesorter-header,
9
+ .tablesorter-bootstrap tfoot th,
10
+ .tablesorter-bootstrap tfoot td {
11
+ font: bold 14px/20px Arial, Sans-serif;
12
+ position: relative;
13
+ padding: 8px;
14
+ margin: 0 0 18px;
15
+ list-style: none;
16
+ background-color: #FBFBFB;
17
+ background-image: -moz-linear-gradient(top, white, #efefef);
18
+ background-image: -ms-linear-gradient(top, white, #efefef);
19
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#efefef));
20
+ background-image: -webkit-linear-gradient(top, white, #efefef);
21
+ background-image: -o-linear-gradient(top, white, #efefef);
22
+ background-image: linear-gradient(to bottom, white, #efefef);
23
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#efefef', GradientType=0);
24
+ background-repeat: repeat-x;
25
+ -webkit-box-shadow: inset 0 1px 0 white;
26
+ -moz-box-shadow: inset 0 1px 0 #ffffff;
27
+ box-shadow: inset 0 1px 0 white;
28
+ }
29
+
30
+ .tablesorter-bootstrap .tablesorter-header {
31
+ cursor: pointer;
32
+ }
33
+
34
+ .tablesorter-bootstrap .tablesorter-header-inner {
35
+ position: relative;
36
+ padding: 4px 18px 4px 4px;
37
+ }
38
+
39
+ /* bootstrap uses <i> for icons */
40
+ .tablesorter-bootstrap .tablesorter-header i {
41
+ position: absolute;
42
+ right: 2px;
43
+ top: 50%;
44
+ margin-top: -7px; /* half the icon height; older IE doesn't like this */
45
+ width: 14px;
46
+ height: 14px;
47
+ background-repeat: no-repeat;
48
+ line-height: 14px;
49
+ display: inline-block;
50
+ }
51
+ .tablesorter-bootstrap .bootstrap-icon-unsorted {
52
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAOCAYAAAD5YeaVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWVJREFUeNqUUL9Lw2AUTGP8mqGlpBQkNeCSRcckEBcHq1jImMElToKuDvpHFMGhU0BQcHBwLji6CE1B4uB/INQsDi4d2jQ/fPeZxo764OV6915f7lLJ81xot9tCURXqdVEUr7IsO6ffH9Q5BlEUCaLwWxWqTcbYnaIoh0Dw4gAvcWlxq1qt9hqNxg6hUGAP+uIPUrGs0qXLer2+v/pTX6QpxLtkc2U2m53ACb8sSdIDXerSEms2m6+DweAICA4d89KGbduf9MpEVdXQ9/2LVqv1CASHjjn3iq/x1xKFfxQPqGnada1W86bT6SiO42OS3qk3KPStLMvbk8nkfjwen/LLuq6blFymMB0KdUPSGhAcOualjX6/f0bCiC7NaWGPQr0BwaFjzn0gYJqmLAiCA8/zni3LmhuGkQPBoWPOPwQeaPIqD4fDruu6L6Zp5kBw6IudchmdJAkLw3DXcZwnIPjy/FuAAQCiqqWWCAFKcwAAAABJRU5ErkJggg==);
53
+ }
54
+
55
+ /* since bootstrap (table-striped) uses nth-child(), we just use this to add a zebra stripe color */
56
+ .tablesorter-bootstrap tr.odd td {
57
+ background-color: #f9f9f9;
58
+ }
59
+ .tablesorter-bootstrap tbody > .odd:hover > td,
60
+ .tablesorter-bootstrap tbody > .even:hover > td {
61
+ background-color: #f5f5f5;
62
+ }
63
+ .tablesorter-bootstrap tr.even td {
64
+ background-color: #fff;
65
+ }
66
+
67
+ /* processing icon */
68
+ .tablesorter-bootstrap .tablesorter-processing {
69
+ background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
70
+ position: absolute;
71
+ z-index: 1000;
72
+ }
73
+
74
+ /* caption */
75
+ caption {
76
+ background: #fff;
77
+ }
78
+
79
+ /* filter widget */
80
+ .tablesorter-bootstrap .tablesorter-filter-row .tablesorter-filter {
81
+ width: 98%;
82
+ height: auto;
83
+ margin: 0 auto;
84
+ padding: 4px 6px;
85
+ background-color: #fff;
86
+ color: #333;
87
+ -webkit-box-sizing: border-box;
88
+ -moz-box-sizing: border-box;
89
+ box-sizing: border-box;
90
+ -webkit-transition: height 0.1s ease;
91
+ -moz-transition: height 0.1s ease;
92
+ -o-transition: height 0.1s ease;
93
+ transition: height 0.1s ease;
94
+ }
95
+ .tablesorter-bootstrap .tablesorter-filter-row .tablesorter-filter.disabled {
96
+ background: #eee;
97
+ cursor: not-allowed;
98
+ }
99
+ .tablesorter-bootstrap .tablesorter-filter-row td {
100
+ background: #eee;
101
+ line-height: normal;
102
+ text-align: center;
103
+ padding: 4px 6px;
104
+ vertical-align: middle;
105
+ -webkit-transition: line-height 0.1s ease;
106
+ -moz-transition: line-height 0.1s ease;
107
+ -o-transition: line-height 0.1s ease;
108
+ transition: line-height 0.1s ease;
109
+ }
110
+ /* hidden filter row */
111
+ .tablesorter-bootstrap .tablesorter-filter-row.hideme td {
112
+ padding: 2px; /* change this to modify the thickness of the closed border row */
113
+ margin: 0;
114
+ line-height: 0;
115
+ }
116
+ .tablesorter-bootstrap .tablesorter-filter-row.hideme .tablesorter-filter {
117
+ height: 1px;
118
+ min-height: 0;
119
+ border: 0;
120
+ padding: 0;
121
+ margin: 0;
122
+ /* don't use visibility: hidden because it disables tabbing */
123
+ opacity: 0;
124
+ filter: alpha(opacity=0);
125
+ }
126
+
127
+ /* pager plugin */
128
+ .tablesorter-bootstrap .tablesorter-pager select {
129
+ padding: 4px 6px;
130
+ }
131
+ .tablesorter-bootstrap .tablesorter-pager .pagedisplay {
132
+ border: 0;
133
+ }
134
+
135
+ /* ajax error row */
136
+ .tablesorter .tablesorter-errorRow td {
137
+ cursor: pointer;
138
+ background-color: #e6bf99;
139
+ }
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.3
4
+ version: 1.9.4
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-12-04 00:00:00.000000000 Z
12
+ date: 2013-12-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -42,6 +42,7 @@ files:
42
42
  - vendor/assets/stylesheets/jquery-tablesorter/theme.default.css
43
43
  - vendor/assets/stylesheets/jquery-tablesorter/theme.grey.css
44
44
  - vendor/assets/stylesheets/jquery-tablesorter/theme.green.css
45
+ - vendor/assets/stylesheets/jquery-tablesorter/theme.bootstrap_2.css
45
46
  - vendor/assets/stylesheets/jquery-tablesorter/theme.bootstrap.css
46
47
  - vendor/assets/stylesheets/jquery-tablesorter/theme.jui.css
47
48
  - vendor/assets/stylesheets/jquery-tablesorter/theme.blue.css