From 7a7b2f79babf355f9ec3ea09bc439057da6575e7 Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Fri, 22 Jun 2007 23:02:35 +0000 Subject: [PATCH] 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 --- mozilla/browser/base/content/browser.js | 2 +- mozilla/browser/components/sidebar/src/nsSidebar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/browser/base/content/browser.js b/mozilla/browser/base/content/browser.js index d1c21ec461d..5ff083c5ff0 100644 --- a/mozilla/browser/base/content/browser.js +++ b/mozilla/browser/base/content/browser.js @@ -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; diff --git a/mozilla/browser/components/sidebar/src/nsSidebar.js b/mozilla/browser/components/sidebar/src/nsSidebar.js index be8ae2054a4..662cdf8c3ce 100644 --- a/mozilla/browser/components/sidebar/src/nsSidebar.js +++ b/mozilla/browser/components/sidebar/src/nsSidebar.js @@ -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,