activeadmin_polymorphic 0.3.2 → 0.3.3
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: cfc8dbe638139a67c254bc86062ba09d3b55c15b
|
4
|
+
data.tar.gz: d213f52a8bda4ca498adb0cdc6fe90f93643c671
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b07c27e9a6f15e31691526388f4d1d4757dced9906f6a9c9c43392e8edda671f521ba34c8333219f24c2aec664fec089925257d25350f2900e2aabccceae425
|
7
|
+
data.tar.gz: 236b5622bdf0c31f3a67e1479cf9d759f701e9fd393ce6f85f131d31e3986173f64058e727cf8351d8a38c333ada1cce5813c23f0f5afe63cfecd15e9ede54c7
|
@@ -167,8 +167,8 @@ window.loadErrors = (target) ->
|
|
167
167
|
$(form).on 'submit', -> return false
|
168
168
|
|
169
169
|
$(target).find('fieldset').replaceWith(fieldset)
|
170
|
-
container = $(
|
171
|
-
container.trigger "polymorphic_has_many_form:inserted", [
|
170
|
+
container = $(target).closest '.polymorphic_has_many_container'
|
171
|
+
container.trigger "polymorphic_has_many_form:inserted", [ target ]
|
172
172
|
|
173
173
|
window.remoteSubmit = (target, callback) ->
|
174
174
|
action = $(target).attr('action')
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petr Sergeev
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spinjs-rails
|