effective_form_inputs 1.1.13 → 1.1.14
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: 04a76eab3d3b21003e8a7fe142d2c77f946c87fc
|
4
|
+
data.tar.gz: 8cce52c396eb418c99c305bb2f00f623245db22e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8733f1f2dc29e2b9ff4f12d65d35d3e1c92d1360471871e8b856d539484df5b2155312653b7d6588fd5086ec69774ec94350d2565c56939dbc3e7c8bf2fdfaac
|
7
|
+
data.tar.gz: a71b7a3ba00d0a06a0bab916c5c7598d4dca19bac66b00f7d35d1034eb5b07c07709b553f943117c0ae80a2c88cd795b993543fe2243e68c883b9e8cc90482cc
|
@@ -43,3 +43,9 @@ $(document).on 'change', "select.effective_select.polymorphic", (event) ->
|
|
43
43
|
|
44
44
|
$select.siblings("input[type='hidden'][name$='_type]']").val(value.split('_')[0] || '')
|
45
45
|
$select.siblings("input[type='hidden'][name$='_id]']").val(value.split('_')[1] || '')
|
46
|
+
|
47
|
+
# Fixes https://github.com/select2/select2/issues/3106
|
48
|
+
$(document).on 'select2:select', 'select', (event) ->
|
49
|
+
$el = $(event.params.data.element).detach()
|
50
|
+
$(this).append($el).trigger('change')
|
51
|
+
|
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.14
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|