recordselect 4.0.0 → 4.0.1
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 +4 -4
- data/app/assets/javascripts/record_select.js +3 -2
- data/lib/record_select/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65ad43872bf90ddfbc045b05d0504aba6146e244e381742c10c7d105959fd222
|
|
4
|
+
data.tar.gz: 1d10b16c74f2a695cf4c8f8cb07419440b19ccb47ba122c92eb29dea941fbda7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 074faf7c0a581eeea7a2ccbc85b7caf185a3e900f13f60ab4ab2334e802b6ccb766d8083eb4a367989f92b453459dc78925d98bb6ce0c63e1ca48f57c914ac9a
|
|
7
|
+
data.tar.gz: ea4f0c7baf85455cd755ec83ec22abbf8855301335de39530b5ad310ca5bd2a710b325a863e91936ab06a9adedcdcae1df1c41cfc3f7ba908ce4c30d4f656a75
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
rs.current_xhr = null;
|
|
143
143
|
}
|
|
144
144
|
});
|
|
145
|
-
jQuery(document).on('click', 'input.recordselect ~ .clear-input-button', function() {
|
|
145
|
+
jQuery(document).on('click', 'input.recordselect ~ .clear-input-button', function(event) {
|
|
146
146
|
var $clear_button = jQuery(event.target), $input = $clear_button.prevAll('input');
|
|
147
147
|
if (!$input.length) return;
|
|
148
148
|
$input.val('').removeClass('selected');
|
|
@@ -227,7 +227,8 @@
|
|
|
227
227
|
if (RecordSelect.document_loaded) {
|
|
228
228
|
this.onload();
|
|
229
229
|
} else {
|
|
230
|
-
var _this = this;
|
|
230
|
+
var _this = this;
|
|
231
|
+
jQuery(document).ready(function() { _this.onload(); });
|
|
231
232
|
}
|
|
232
233
|
},
|
|
233
234
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: recordselect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergio Cambra
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-04-
|
|
13
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|