activeadmin_polymorphic 0.3.3 → 0.3.4
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: da7ac49dfde197907145a1a310e015bb25a1c0e0
|
4
|
+
data.tar.gz: 54e5f2d90df40d8c8731605a3b7cf5ecb2933554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fb3b7bce121b576871e4600b0dc20ff59ceeb8e57885dca54923df7727e003dd3a4e5d3a38d5dc12a2211c37eb5778f17407b2121006f5deecf1aeeae74fb11
|
7
|
+
data.tar.gz: a7199a7aab10e3b83b8043cc09f20e061c2c9c0f54919be524c0e39c315ce39829d1c7a975d7600bfb0b1b3fd119b158aeeba8b6f9ca7cc1d0ecf431e1fbad13
|
@@ -150,6 +150,7 @@ window.extractAndInsertForm = (url, target) ->
|
|
150
150
|
target.prepend form
|
151
151
|
|
152
152
|
container.trigger "polymorphic_has_many_form:inserted", [form]
|
153
|
+
$(target).find('.has_many_container').trigger('has_many_add:after')
|
153
154
|
error: (xhr, status, error) ->
|
154
155
|
stop_loading_indicator(target, spinner)
|
155
156
|
|
@@ -169,6 +170,7 @@ window.loadErrors = (target) ->
|
|
169
170
|
$(target).find('fieldset').replaceWith(fieldset)
|
170
171
|
container = $(target).closest '.polymorphic_has_many_container'
|
171
172
|
container.trigger "polymorphic_has_many_form:inserted", [ target ]
|
173
|
+
$(target).find('.has_many_container').trigger('has_many_add:after')
|
172
174
|
|
173
175
|
window.remoteSubmit = (target, callback) ->
|
174
176
|
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.4
|
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-02-
|
12
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spinjs-rails
|