foo_table-rails 2.0.1.3 → 2.0.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 547b3deac353d2773a9873d9b058f2f0ae205aed
|
4
|
+
data.tar.gz: a33dd33575f12bf438ccf770671df620bdc4ac15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d3b57a4f8dd1f816555a3b69eae95efa86e4424f8e60d84b5c6058ecee1e6aee657f9067bcb005f22900c0d9f656775eaeab0fdac60c88825b5e57dccd9b048
|
7
|
+
data.tar.gz: eb3ceae04e9c80aa0f98bd745626545b065e46cc4a6a54847b25f1301308f65ee5b92fd752975a52537d120166419d4b313b7168878702a7950249bf506054a0
|
@@ -1,15 +1,15 @@
|
|
1
1
|
/*!
|
2
2
|
* FooTable - Awesome Responsive Tables
|
3
|
-
* Version : 2.0.1.
|
3
|
+
* Version : 2.0.1.4
|
4
4
|
* http://fooplugins.com/plugins/footable-jquery/
|
5
5
|
*
|
6
6
|
* Requires jQuery - http://jquery.com/
|
7
7
|
*
|
8
|
-
* Copyright
|
8
|
+
* Copyright 2014 Steven Usher & Brad Vincent
|
9
9
|
* Released under the MIT license
|
10
10
|
* You are free to use FooTable in commercial projects as long as this copyright header is left intact.
|
11
11
|
*
|
12
|
-
* Date:
|
12
|
+
* Date: 16 Feb 2014
|
13
13
|
*/
|
14
14
|
(function ($, w, undefined) {
|
15
15
|
w.footable = {
|
@@ -635,7 +635,7 @@
|
|
635
635
|
ft.createOrUpdateDetailRow(this);
|
636
636
|
});
|
637
637
|
|
638
|
-
$table.find('> tbody > tr.' + cls.detailShow + '
|
638
|
+
$table.find('> tbody > tr.' + cls.detailShow + ':visible').each(function () {
|
639
639
|
var $next = $(this).next();
|
640
640
|
if ($next.hasClass(cls.detail)) {
|
641
641
|
if (!hasBreakpointFired) $next.hide();
|
@@ -27,7 +27,7 @@
|
|
27
27
|
this.limitPreviousText = data.limitPreviousText || ft.options.limitPreviousText;
|
28
28
|
this.limitNextText = data.limitNextText || ft.options.limitNextText;
|
29
29
|
this.limit = this.limitNavigation > 0;
|
30
|
-
this.currentPage = 0;
|
30
|
+
this.currentPage = data.currentPage || 0;
|
31
31
|
this.pages = [];
|
32
32
|
this.control = false;
|
33
33
|
}
|
@@ -219,6 +219,7 @@
|
|
219
219
|
|
220
220
|
p.fillPage = function (ft, tbody, pageNumber) {
|
221
221
|
ft.pageInfo.currentPage = pageNumber;
|
222
|
+
$(ft.table).data('currentPage', pageNumber);
|
222
223
|
tbody.find('> tr').hide();
|
223
224
|
$(ft.pageInfo.pages[pageNumber]).each(function () {
|
224
225
|
p.showRow(this, ft);
|