зеркало из https://github.com/mozilla/gecko-dev.git
Fix bug where activeView isn't set correctly for submenus.
bug=324160 r=ben@mozilla.org
This commit is contained in:
Родитель
6f9e66cf05
Коммит
14dbd3d22c
|
@ -294,13 +294,14 @@
|
|||
}
|
||||
}
|
||||
</handler>
|
||||
<handler event="click">
|
||||
if (event.target.localName != "menuitem")
|
||||
<handler event="click"><![CDATA[
|
||||
if (event.target.localName != "menuitem" &&
|
||||
event.target.localName != "menu")
|
||||
return;
|
||||
this._selection = event.target.node;
|
||||
PlacesController.activeView = this;
|
||||
PlacesController.mouseLoadURI(event);
|
||||
</handler>
|
||||
]]></handler>
|
||||
</handlers>
|
||||
</binding>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче