зеркало из https://github.com/mozilla/gecko-dev.git
Bug 924314 - Australis panel binding shouldn't care about popup events from other things, r=mikedeboer
--HG-- extra : rebase_source : e9b58da59d930307afc68844b16519f584c3cf04
This commit is contained in:
Родитель
5f8b5715bf
Коммит
3e8d6583a3
|
@ -266,6 +266,10 @@
|
|||
<method name="handleEvent">
|
||||
<parameter name="aEvent"/>
|
||||
<body><![CDATA[
|
||||
if (aEvent.type.startsWith("popup") && aEvent.target != this._panel) {
|
||||
// Shouldn't act on e.g. context menus being shown from within the panel.
|
||||
return;
|
||||
}
|
||||
switch(aEvent.type) {
|
||||
case "click":
|
||||
if (aEvent.originalTarget == this._clickCapturer) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче