kopia lustrzana https://github.com/c9/core
fix menu not opening when navigate is open
rodzic
cabbe09c9f
commit
4802a51a01
|
@ -142,7 +142,8 @@ define(function(require, exports, module) {
|
||||||
var to = e.toElement;
|
var to = e.toElement;
|
||||||
if (!to || apf.isChildOf(winCommands, to, true))
|
if (!to || apf.isChildOf(winCommands, to, true))
|
||||||
return;
|
return;
|
||||||
|
if (to.localName == "menu")
|
||||||
|
return;
|
||||||
// TODO add better support for overlay panels
|
// TODO add better support for overlay panels
|
||||||
setTimeout(function() { plugin.hide(); }, 10);
|
setTimeout(function() { plugin.hide(); }, 10);
|
||||||
}
|
}
|
||||||
|
|
|
@ -282,6 +282,8 @@ define(function(require, exports, module) {
|
||||||
|| lastPreviewed.aml == to))) {
|
|| lastPreviewed.aml == to))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (to.localName == "menu")
|
||||||
|
return;
|
||||||
|
|
||||||
// TODO add better support for overlay panels
|
// TODO add better support for overlay panels
|
||||||
setTimeout(function() { plugin.hide(); }, 10);
|
setTimeout(function() { plugin.hide(); }, 10);
|
||||||
|
|
Ładowanie…
Reference in New Issue