mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 01:58:47 +02:00
N°3207 - Global search: Fix "Tab" navigation no longer passing over history items
This commit is contained in:
@@ -31,6 +31,7 @@ $(function()
|
||||
css_classes:
|
||||
{
|
||||
opened: 'ibo-is-opened',
|
||||
hidden: 'ibo-is-hidden',
|
||||
},
|
||||
js_selectors:
|
||||
{
|
||||
@@ -143,11 +144,14 @@ $(function()
|
||||
},
|
||||
_openDrawer: function()
|
||||
{
|
||||
this.element.find(this.js_selectors.compartment_element).removeClass(this.css_classes.hidden);
|
||||
this.element.addClass(this.css_classes.opened);
|
||||
},
|
||||
_closeDrawer: function()
|
||||
{
|
||||
this.element.removeClass(this.css_classes.opened);
|
||||
//Note: Elements are hidden to avoid having the keyboard navigation "TAB" passing throught them when they are not displayed
|
||||
this.element.find(this.js_selectors.compartment_element).addClass(this.css_classes.hidden);
|
||||
},
|
||||
_setFocusOnInput: function()
|
||||
{
|
||||
|
||||
@@ -165,7 +165,7 @@ $(function()
|
||||
{
|
||||
this.element.removeClass(this.css_classes.opened);
|
||||
//Note: Elements are hidden to avoid having the keyboard navigation "TAB" passing throught them when they are not displayed
|
||||
this.element.find(this.js_selectors.compartment_element).addClass(this.css_classes.hidden)
|
||||
this.element.find(this.js_selectors.compartment_element).addClass(this.css_classes.hidden);
|
||||
},
|
||||
_setFocusOnInput: function()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user