uber_select_rails 0.4.2.repackage → 0.4.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5852b1fc530f2e2990d6bae6c9de18be71ef5365c243cbf9e2955dd0d9f07292
|
4
|
+
data.tar.gz: d30d7e27c9686b276e4fad9d0b7971d1404a240f292dbeece1adf87a5e03bf40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1abd187f4db26bc3f70145935439ba8fe19f7aa1c16e73fe0d00737a9674dcb3ff7ce3dbf6b3f9696d5cccdd0587041638caa8e356339915945ca5b661ae32d9
|
7
|
+
data.tar.gz: 3c4fdfa37229c36ea9e1e30ba79333f94b84f0e02fc396b5bb24faae2694a922a8920bddaf2698d1be80780ff6a485a669ef0c78599b52cc8f80b1e32dcf316b
|
@@ -87,7 +87,7 @@
|
|
87
87
|
selectedText: getAttribute(option, 'data-selected-text'),
|
88
88
|
value: getAttribute(option, 'value'),
|
89
89
|
title: getAttribute(option, 'title'),
|
90
|
-
disabled: getAttribute(option, 'disabled'),
|
90
|
+
disabled: getAttribute(option, 'disabled') === undefined ? false : true,
|
91
91
|
matchValue: getAttribute(option, 'data-match-value'),
|
92
92
|
visibility: getAttribute(option, 'data-visibility'),
|
93
93
|
element: option
|
@@ -141,7 +141,7 @@
|
|
141
141
|
function refreshOptionsList(){
|
142
142
|
uberSearch.setDisabled($(select).is(':disabled'))
|
143
143
|
uberSearch.setData(dataFromSelect(select))
|
144
|
-
|
144
|
+
updateSelectValue($(select).find('option[selected]').attr('value')) // Read the value of the option that is selected because the <select> element's value is defunct now that we've updated the <option> elements
|
145
145
|
}
|
146
146
|
|
147
147
|
// Updates the UberSearch's selected value from the select element's value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uber_select_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Jakobsen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -95,9 +95,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
95
|
version: '0'
|
96
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- - "
|
98
|
+
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
100
|
+
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubygems_version: 3.0.8
|
103
103
|
signing_key:
|