activeadmin_polymorphic 0.3.1 → 0.3.2
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: 6092c329650bcd681a2b77fe13f99ac2ae24f4bf
|
4
|
+
data.tar.gz: 5f89e7340a30844ddf70c927df66d9db8469cff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c043cc98408063b0063bc2cdd161420bcb0dfa05606d444fcadbd0b8dcbe612eb88c55c7b5b931d5f4c487c5e1ea2a633142dc994a79cd18b947d07748fd93fa
|
7
|
+
data.tar.gz: e72e2a427376e8d67db9148e4d958ba6cdea1b113a720b9a37fe3138286e87b06e1d57376a9c3480d6b89e66d9995db7c2ac6b857d67cb2411c59c995a277e48
|
@@ -161,10 +161,12 @@ window.loadErrors = (target) ->
|
|
161
161
|
# duplicates method above. refactor using callbacks
|
162
162
|
elements = $(data)
|
163
163
|
form = $('#main_content form', elements).first()
|
164
|
-
|
164
|
+
fieldset = form.find('fieldset').first()
|
165
|
+
|
166
|
+
$(fieldset).find('.actions').remove()
|
165
167
|
$(form).on 'submit', -> return false
|
166
168
|
|
167
|
-
$(target).replaceWith(
|
169
|
+
$(target).find('fieldset').replaceWith(fieldset)
|
168
170
|
container = $(form).closest '.polymorphic_has_many_container'
|
169
171
|
container.trigger "polymorphic_has_many_form:inserted", [ form ]
|
170
172
|
|
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.2
|
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:
|
12
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: spinjs-rails
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
91
|
+
rubygems_version: 2.2.2
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: HasMany polymoprhic support for active admin.
|