[SSE] For Bug 45140: close entries list menu on Alt+down
This commit is contained in:
parent
5127935203
commit
24bf3a4131
|
@ -1046,6 +1046,14 @@ define([
|
||||||
items: []
|
items: []
|
||||||
}).on('show:after', function () {
|
}).on('show:after', function () {
|
||||||
this.scroller.update({alwaysVisibleY: true});
|
this.scroller.update({alwaysVisibleY: true});
|
||||||
|
}).on('keydown:before', function (menu, e) {
|
||||||
|
if (e.altKey && e.keyCode == Common.UI.Keys.DOWN) {
|
||||||
|
var li = $(e.target).closest('li');
|
||||||
|
if (li.length>0)
|
||||||
|
li.click();
|
||||||
|
else
|
||||||
|
menu.hide();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.funcMenu = new Common.UI.Menu({
|
this.funcMenu = new Common.UI.Menu({
|
||||||
|
|
Loading…
Reference in a new issue