Bug 427039: New Bookmark / StarUI pops up in the wrong place if the star is not on the location bar, patch by Ryan A. C. <fittysix@gmail.com>, r=mconnor, ui-r=beltzner, a=pending

git-svn-id: svn://10.0.0.236/trunk@250173 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2008-04-14 01:00:16 +00:00
parent 745560d735
commit bd1bd4dfd7

View File

@@ -415,6 +415,9 @@ var PlacesCommandHook = {
itemId = PlacesUtils.getMostRecentBookmarkForURI(uri);
}
// Revert the contents of the location bar
handleURLBarRevert();
// dock the panel to the star icon when possible, otherwise dock
// it to the content area
if (aBrowser.contentWindow == window.content) {