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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e4f4bf2b70ac5da5e7f81768d7262d40dd14e3e
|
4
|
+
data.tar.gz: 515e3b7d447d6431f4c870bae54578dc07c77501
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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')
|
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.
|
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-
|
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.
|
93
|
+
rubygems_version: 2.5.1
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: HasMany polymoprhic support for active admin.
|