diff --git a/browser/components/bookmarks/content/addBookmark.js b/browser/components/bookmarks/content/addBookmark.js index 187e16dbcc0c..3b3898661eac 100644 --- a/browser/components/bookmarks/content/addBookmark.js +++ b/browser/components/bookmarks/content/addBookmark.js @@ -130,8 +130,8 @@ function Startup() document.getElementById("bookmarknamegrid").setAttribute("hidden", "true"); document.getElementById("createinseparator").setAttribute("hidden", "true"); document.getElementById("nameseparator").setAttribute("hidden", "true"); - sizeToContent(); - document.title = document.documentElement.getAttribute("selectFolderTitle"); + sizeToFit(); + document.title = document.documentElement.getAttribute("title-selectFolder"); shouldSetOKButton = false; if (window.arguments[2]) folderItem = RDF.GetResource(window.arguments[2]); @@ -295,20 +295,6 @@ function createNewFolder () BookmarksCommand.createNewFolder(target); } -function useDefaultFolder () -{ - var bookmarkView = document.getElementById("bookmarks-view"); - var folder = BookmarksUtils.getNewBookmarkFolder(); - var ind = bookmarkView.treeBuilder.getIndexOfResource(folder); - if (ind != -1) { - bookmarkView.tree.focus(); - bookmarkView.treeBoxObject.view.selection.select(ind); - } else { - bookmarkView.treeBoxObject.view.selection.clearSelection(); - } - gCreateInFolder = folder.Value; -} - var gOldNameValue = ""; var gOldURLValue = ""; diff --git a/browser/components/bookmarks/content/addBookmark.xul b/browser/components/bookmarks/content/addBookmark.xul index a3ccd0eca8e1..1093e2f39341 100644 --- a/browser/components/bookmarks/content/addBookmark.xul +++ b/browser/components/bookmarks/content/addBookmark.xul @@ -45,7 +45,7 @@ -