forked from tungstenfabric/tf-webui-third-party
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjquery-ui-multiselect-widget.patch
30 lines (26 loc) · 1.32 KB
/
jquery-ui-multiselect-widget.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -Naur old/contrail-webui-third-party/jquery-ui-multiselect-widget-1.15/src/jquery.multiselect.js new/contrail-webui-third-party/jquery-ui-multiselect-widget-1.15/src/jquery.multiselect.js
--- old/contrail-webui-third-party/jquery-ui-multiselect-widget-1.15/src/jquery.multiselect.js 2016-07-08 07:50:15.000000000 -0700
+++ new/contrail-webui-third-party/jquery-ui-multiselect-widget-1.15/src/jquery.multiselect.js 2016-09-28 12:48:14.000000000 -0700
@@ -350,7 +350,7 @@
.delegate('label', 'mouseenter.multiselect', function() {
if(!$(this).hasClass('ui-state-disabled')) {
self.labels.removeClass('ui-state-hover');
- $(this).addClass('ui-state-hover').find('input').focus();
+ $(this).addClass('ui-state-hover');
}
})
.delegate('label', 'keydown.multiselect', function(e) {
@@ -386,7 +386,7 @@
// make sure the input has focus. otherwise, the esc key
// won't close the menu after clicking an item.
- $this.focus();
+ //$this.focus();
// toggle aria state
$this.prop('aria-selected', checked);
@@ -509,7 +509,7 @@
$inputs.each(this._toggleState('checked', flag));
// give the first input focus
- $inputs.eq(0).focus();
+ //$inputs.eq(0).focus();
// update button text
this.update();