thin_man 0.11.0 → 0.11.1
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/app/assets/javascripts/thin_man.js +5 -1
- data/lib/thin_man/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4f3af5bc85bb63d68be8f90f57a9b2e337d88090
|
|
4
|
+
data.tar.gz: b927870523c85b37ec3759bf353f945b6bd7e8b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1679ed8bbc80af773b79014a14d24f1e061092821af7f86ccd8ae51d0a137418de4bb3ec96c032e27919bcedc7cbf60b5ff1b5d3d2528ba1120d428042d69cae
|
|
7
|
+
data.tar.gz: acece9e2de6cce2cb7c70ba218c355f20425705e19868a5a779f25da2bca0caec89877306e13072cc4ac33a03df84c7ece02237c3741afb8701c0c1f7c9d11b2
|
|
@@ -471,8 +471,12 @@ var initThinMan = function(){
|
|
|
471
471
|
}
|
|
472
472
|
}),
|
|
473
473
|
thin_man.AjaxSortSubmission = thin_man.AjaxLinkSubmission.extend({
|
|
474
|
+
init: function($form){
|
|
475
|
+
this.sort_field = $form.data('sort-field');
|
|
476
|
+
this._super($form);
|
|
477
|
+
},
|
|
474
478
|
getAjaxUrl: function(){
|
|
475
|
-
return this._super() + '?' + this.jq_obj.sortable("serialize");
|
|
479
|
+
return this._super() + '?' + 'sort_field=' + this.sort_field + '&' + this.jq_obj.sortable("serialize");
|
|
476
480
|
},
|
|
477
481
|
getAjaxType: function(){
|
|
478
482
|
return 'PUT';
|
data/lib/thin_man/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thin_man
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.11.
|
|
4
|
+
version: 0.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Draut, Adam Bialek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|