Fix Bug 51435
This commit is contained in:
parent
f142cfb697
commit
703fe81552
|
@ -318,7 +318,8 @@ define([
|
||||||
if (this.enableKeyEvents && this.parentMenu && this.handleSelect) {
|
if (this.enableKeyEvents && this.parentMenu && this.handleSelect) {
|
||||||
if (!me.showLast)
|
if (!me.showLast)
|
||||||
this.parentMenu.on('show:before', function(menu) { me.deselectAll(); });
|
this.parentMenu.on('show:before', function(menu) { me.deselectAll(); });
|
||||||
this.parentMenu.on('show:after', function(menu) {
|
this.parentMenu.on('show:after', function(menu, e) {
|
||||||
|
if (e && (menu.el !== e.target)) return;
|
||||||
if (me.showLast) me.showLastSelected();
|
if (me.showLast) me.showLastSelected();
|
||||||
Common.NotificationCenter.trigger('dataview:focus');
|
Common.NotificationCenter.trigger('dataview:focus');
|
||||||
_.delay(function() {
|
_.delay(function() {
|
||||||
|
|
Loading…
Reference in a new issue