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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cae7c5d5ddffa622dacc1a517a31a2ad9a4498ac
4
- data.tar.gz: 95139aa815fa2fc62adf34a5433a70f5956881ab
3
+ metadata.gz: 4f3af5bc85bb63d68be8f90f57a9b2e337d88090
4
+ data.tar.gz: b927870523c85b37ec3759bf353f945b6bd7e8b4
5
5
  SHA512:
6
- metadata.gz: 521fc4ffafe601d2935de0a701dcb641e037e75f235f8a254fac6cb30e7e45e3f3ec6953aba10a923e4ae0de5080cbf25748dac0319e9f209b5430c886742219
7
- data.tar.gz: 883d0d9a86064b8801dc4af27142cbe75f17b3c5f09a41ba219bb8a19bc856c89f37e7cca6e23f3267dce9650a75aede85ac7d6d25727dfa9e8e3ae90e070fc9
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';
@@ -1,3 +1,3 @@
1
1
  module ThinMan
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
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.0
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-06 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails