activeadmin_polymorphic 0.3.5 → 0.3.6

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: 89d652e6a88b7ce4327646cad44fc0cdd63cae2c
4
- data.tar.gz: c9f95aa20ff37fba5c53a1d81da9593262e89217
3
+ metadata.gz: 7e4f4bf2b70ac5da5e7f81768d7262d40dd14e3e
4
+ data.tar.gz: 515e3b7d447d6431f4c870bae54578dc07c77501
5
5
  SHA512:
6
- metadata.gz: 3353a3768d0ba7b451b4bc38730c235aa74518ca26cb303db6c82b514baaf9ab3e3fb31d02356e7424835c83c56892c7f32610a34111cb272e2926293d3281ee
7
- data.tar.gz: 3edaa0d7d23f75e9383274b77bd4211da38949932c3ef504c386d1226b30858ce92211d9d95f9bb86203f22f1341c2bda9264b6bfaae6c9a5925e94b64567e91
6
+ metadata.gz: 286a08f448e9acbbd70e35c1c65baa13536960d3d03a6933597be98f767e74ea9f0d92364bfaa8d138faf8d36a4639f1f185753d27d3f71417a9e9d5420341ac
7
+ data.tar.gz: dfc29aaae0bd378d9deffeaf42ba1673492e8562cfda91749a1b364050deb70bc98d0562a11406135ce30014f54719c4be5b1a7c49330a44a594735e1c99e286
@@ -17,7 +17,7 @@ $ ->
17
17
  e.preventDefault()
18
18
 
19
19
  $(@).find('form').each ->
20
- remoteSubmit @, ->
20
+ remoteSubmit @, parentForm, ->
21
21
  submissions_counter++
22
22
  if submissions_counter == expect
23
23
  $(form).find('form').remove()
@@ -172,7 +172,7 @@ window.loadErrors = (target) ->
172
172
  container.trigger "polymorphic_has_many_form:inserted", [ target ]
173
173
  $(target).find('.has_many_container').trigger('has_many_add:after')
174
174
 
175
- window.remoteSubmit = (target, callback) ->
175
+ window.remoteSubmit = (target, parentForm, callback) ->
176
176
  action = $(target).attr('action')
177
177
  $(target).data('remote', true)
178
178
  $(target).removeAttr('novalidate')
@@ -1,3 +1,3 @@
1
1
  module ActiveadminPolymorphic
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_polymorphic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Sergeev
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-12-01 00:00:00.000000000 Z
13
+ date: 2016-12-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: spinjs-rails
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.2.2
93
+ rubygems_version: 2.5.1
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: HasMany polymoprhic support for active admin.