grid_table 1.1.2 → 1.2.rails3
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 +4 -4
- data/lib/grid_table/control.rb +1 -1
- data/lib/grid_table/version.rb +1 -1
- data/vendor/assets/javascripts/gridtable.js +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 987eee7ca033dbbfb6579b83fb97f912e7db2794
|
|
4
|
+
data.tar.gz: 0d39d86b97c8218c1256aff1b2306e4588d46ae4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a97b0d0644b943b15c0e3aeac6266a388cb3b23218ca21de0114df6726a8acdab0f904c007a18395cf043dcf148855caccc47313e44d7898a9a8d8c72c648f0f
|
|
7
|
+
data.tar.gz: f1e85c1594bbb665d4374c80fcae5bb3b529678726f48df4fad0026ba1cd83e5f2479c61dd132a0be5e88ad7d5c906c7095feaec2f635397ecc8ddb13925980c
|
data/lib/grid_table/control.rb
CHANGED
data/lib/grid_table/version.rb
CHANGED
|
@@ -234,6 +234,9 @@ GridTable = (function() {
|
|
|
234
234
|
};
|
|
235
235
|
|
|
236
236
|
GridTable.prototype.loadData = function(params) {
|
|
237
|
+
if ($('li#pagedisplay').data('initial-page') != null) {
|
|
238
|
+
this.gridTableParams.page = $('li#pagedisplay').data('initial-page');
|
|
239
|
+
}
|
|
237
240
|
if (params == null) {
|
|
238
241
|
params = {};
|
|
239
242
|
}
|
|
@@ -281,6 +284,11 @@ GridTable = (function() {
|
|
|
281
284
|
});
|
|
282
285
|
};
|
|
283
286
|
|
|
287
|
+
GridTable.prototype.clearInitialValues = function() {
|
|
288
|
+
$('li#pagedisplay').data('initial-page', null);
|
|
289
|
+
$('li#pagedisplay').data('initial-id', null);
|
|
290
|
+
}
|
|
291
|
+
|
|
284
292
|
GridTable.prototype.exportData = function() {
|
|
285
293
|
var baseUrl, url;
|
|
286
294
|
url = this.gridTableParams.url.split('?');
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: grid_table
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.rails3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jon Principe
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-04-
|
|
12
|
+
date: 2016-04-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -75,9 +75,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
version: '0'
|
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
|
-
- - '
|
|
78
|
+
- - '>'
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
|
-
version:
|
|
80
|
+
version: 1.3.1
|
|
81
81
|
requirements: []
|
|
82
82
|
rubyforge_project:
|
|
83
83
|
rubygems_version: 2.0.14.1
|