Fix bug where activeView isn't set correctly for submenus.

bug=324160 r=ben@mozilla.org
This commit is contained in:
annie.sullivan%gmail.com 2006-01-20 18:09:41 +00:00
Родитель 6f9e66cf05
Коммит 14dbd3d22c
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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>