activeadmin_polymorphic 0.3.2 → 0.3.3

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: 6092c329650bcd681a2b77fe13f99ac2ae24f4bf
4
- data.tar.gz: 5f89e7340a30844ddf70c927df66d9db8469cff1
3
+ metadata.gz: cfc8dbe638139a67c254bc86062ba09d3b55c15b
4
+ data.tar.gz: d213f52a8bda4ca498adb0cdc6fe90f93643c671
5
5
  SHA512:
6
- metadata.gz: c043cc98408063b0063bc2cdd161420bcb0dfa05606d444fcadbd0b8dcbe612eb88c55c7b5b931d5f4c487c5e1ea2a633142dc994a79cd18b947d07748fd93fa
7
- data.tar.gz: e72e2a427376e8d67db9148e4d958ba6cdea1b113a720b9a37fe3138286e87b06e1d57376a9c3480d6b89e66d9995db7c2ac6b857d67cb2411c59c995a277e48
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 = $(form).closest '.polymorphic_has_many_container'
171
- container.trigger "polymorphic_has_many_form:inserted", [ form ]
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')
@@ -1,3 +1,3 @@
1
1
  module ActiveadminPolymorphic
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
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.2
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-01-18 00:00:00.000000000 Z
12
+ date: 2016-02-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spinjs-rails