effective_form_inputs 1.1.14 → 1.1.15
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 937725fe7bfe1c08ac559edcacdb52ea6ee2a37c
|
4
|
+
data.tar.gz: 06bf13049aeec498038a5c306bbabc0b8f498bae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cde7d118be3449afde95fa63650d181963e88d2cc6e5bbead22773d609326b457716b231234761fb82aaf98d4376910560e3e1e29ceb1a26c5591084e423d50
|
7
|
+
data.tar.gz: 4514ab3d6a80d8bb9d2a55d54bc62ad65ccc4c7d40e19a3e61e0e7c2d7c617b8d49fcb75f59a0990efa30f51992f02799859ecbf8c4311f9212e298ea886f43a
|
@@ -46,6 +46,10 @@ $(document).on 'change', "select.effective_select.polymorphic", (event) ->
|
|
46
46
|
|
47
47
|
# Fixes https://github.com/select2/select2/issues/3106
|
48
48
|
$(document).on 'select2:select', 'select', (event) ->
|
49
|
-
$el = $(event.params.data.element)
|
50
|
-
|
49
|
+
$el = $(event.params.data.element)
|
50
|
+
|
51
|
+
if $el.closest('select').hasClass('tags-input')
|
52
|
+
$(this).append($el.detach()).trigger('change')
|
53
|
+
|
54
|
+
true
|
51
55
|
|
@@ -145,6 +145,7 @@ module Inputs
|
|
145
145
|
html_options[:class] << 'polymorphic' if options[:polymorphic]
|
146
146
|
html_options[:class] << 'grouped' if options[:grouped]
|
147
147
|
html_options[:class] << 'hide-disabled' if options[:hide_disabled]
|
148
|
+
html_options[:class] << 'tags-input' if options[:tags]
|
148
149
|
end
|
149
150
|
end
|
150
151
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_form_inputs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.5.2
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Collection of Form Inputs
|