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,