effective_bootstrap 0.3.16 → 0.3.17
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: 82d56b3ce9fb868c32b156d3daa37aa908fd1246
|
4
|
+
data.tar.gz: af4af4ee0bd8457b0b2f445016acb75eb0a83301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ef9d83a6eaf3d0c5328539ce0e63bc201820897337279a93da7726d24c098a4a48a8bb6aae9506133e24ba9c801847e22013fea20d3868ec9ac4964562786dc
|
7
|
+
data.tar.gz: 51a1af53771c0aa27cbe870a47831e781473cc37f581d27e5745cfded86f8d7fc721b8ddcce06b0a12cfcdb6cc08d68c16817b55d71b39d8d4c882c57b0c11b6
|
@@ -10,7 +10,9 @@ $(document).on 'select2:open', (event) ->
|
|
10
10
|
|
11
11
|
# For tabbing through
|
12
12
|
# https://stackoverflow.com/questions/20989458/select2-open-dropdown-on-focus
|
13
|
-
$(document).on 'focus',
|
13
|
+
$(document).on 'select2:focus', (event) ->
|
14
|
+
$select = $(event.target)
|
15
|
+
$select.select2('open') unless $select.prop('multiple')
|
14
16
|
|
15
17
|
# effective_select custom reinitialization functionality
|
16
18
|
# This is a custom event intended to be manually triggered when the underlying options change
|
@@ -2076,7 +2076,8 @@ S2.define('select2/selection/eventRelay',[
|
|
2076
2076
|
'open', 'opening',
|
2077
2077
|
'close', 'closing',
|
2078
2078
|
'select', 'selecting',
|
2079
|
-
'unselect', 'unselecting'
|
2079
|
+
'unselect', 'unselecting',
|
2080
|
+
'focus'
|
2080
2081
|
];
|
2081
2082
|
|
2082
2083
|
var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting'];
|