fix for bug #385490: when attempting to add a bookmark as a sidebar panel, add bookmark dialog is cropped.

r=mano


git-svn-id: svn://10.0.0.236/trunk@228604 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%mozilla.org 2007-06-22 23:02:35 +00:00
parent 25b54525b5
commit 7a7b2f79ba
2 changed files with 2 additions and 2 deletions

View File

@ -4522,7 +4522,7 @@ function asyncOpenWebPanel(event)
#else
PlacesUtils.showAddBookmarkUI(makeURI(wrapper.href),
wrapper.getAttribute("title"),
null, true, true);
null, null, true, true);
event.preventDefault();
#endif
return false;

View File

@ -130,7 +130,7 @@ function (aTitle, aContentURL, aCustomizeURL, aPersist)
}
catch(ex) { return; }
win.PlacesUtils.showAddBookmarkUI(uri, aTitle, null, true, true);
win.PlacesUtils.showAddBookmarkUI(uri, aTitle, null, null, true, true);
#else
var dialogArgs = {
name: aTitle,