Correcting comments a little
git-svn-id: svn://10.0.0.236/trunk@247977 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -600,7 +600,7 @@ var BookmarksEventHandler = {
|
||||
|
||||
var target = aEvent.originalTarget;
|
||||
// If this event bubbled up from a menu or menuitem, close the menus.
|
||||
// Do this before opening tabs, to avoid hiding the open tabs confirm.
|
||||
// Do this before opening tabs, to avoid hiding the open tabs confirm-dialog.
|
||||
if (target.localName == "menu" || target.localName == "menuitem") {
|
||||
for (node = target.parentNode; node; node = node.parentNode) {
|
||||
if (node.localName == "menupopup")
|
||||
|
||||
@@ -950,7 +950,7 @@
|
||||
<handler event="popupshowing" phase="capturing"><![CDATA[
|
||||
this._ensureInitialized();
|
||||
var popup = event.target;
|
||||
// We should avoid to handle events of inner views
|
||||
// Avoid handling popupshowing of inner views
|
||||
if (!popup._resultNode || PlacesUIUtils.getViewForNode(popup) != this)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user