activeadmin_select_many 0.3.2 → 0.3.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 803eb9cc01dbf1ae9baa62aca6143a2fd4f3bbeb
|
4
|
+
data.tar.gz: e24f251be408c8381b4d4c70cba8ecb5230464c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15af5bf94a4a6cefe08ca45425e6f93a011272238d818ecf6e265b6cc04c84f1037dc8d93e911f57e7dc05c0d5ca70fc380e6a78736640c2cf89b03e77f3cf23
|
7
|
+
data.tar.gz: cf6fba412823f738a0ed7d1346cd636da1f2c00654d5a09b2c1ab50dbec1c87f76215479cf44a0c6ef28e3ca252733e00854f47d3119f91b44813ae08be7abd4
|
@@ -163,7 +163,7 @@ $(document).ready( function() {
|
|
163
163
|
// --- select one -----------------------------------------------------------
|
164
164
|
var onRemoteSelectOne = smDebounce( function( event ) {
|
165
165
|
var search = $(this).val().trim();
|
166
|
-
var select = $(this).
|
166
|
+
var select = $(this).closest( '.select_one' ).find( '[data-select="src"]' );;
|
167
167
|
if( select.data( 'searching' ) != '1' && search && select.data( 'last-search' ) != search ) {
|
168
168
|
select.data( 'searching', '1' );
|
169
169
|
select.data( 'last-search', search );
|
@@ -11,8 +11,8 @@ module Formtastic
|
|
11
11
|
hidden_input <<
|
12
12
|
search_box_html <<
|
13
13
|
template.content_tag( :span, '', class: 'empty' ) <<
|
14
|
-
template.content_tag( :span,
|
15
|
-
template.content_tag( :span,
|
14
|
+
template.content_tag( :span, ::I18n.t( 'inputs.select_many.available' ), class: 'available' ) <<
|
15
|
+
template.content_tag( :span, ::I18n.t( 'inputs.select_many.selected' ), class: 'selected' ) <<
|
16
16
|
select_src_html <<
|
17
17
|
buttons_html <<
|
18
18
|
select_dst_html
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin_select_many
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattia Roccoberton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activeadmin
|