Index: chrome/browser/resources/bookmark_manager/js/main.js |
diff --git a/chrome/browser/resources/bookmark_manager/js/main.js b/chrome/browser/resources/bookmark_manager/js/main.js |
index cfab1ac1d80f715105d60cd16b96946d82f4afbf..7a26bc90f4be8b4b0d4f302303e470584ef5a11e 100644 |
--- a/chrome/browser/resources/bookmark_manager/js/main.js |
+++ b/chrome/browser/resources/bookmark_manager/js/main.js |
@@ -1034,7 +1034,7 @@ function newFolder(opt_target) { |
// Callback is called after tree and list data model updated. |
function createFolder(callback) { |
if (selectedItem && document.activeElement != bmm.tree && |
- !bmm.isFolder(selectedItem)) { |
+ !bmm.isFolder(selectedItem) && selectedItem.id != 'new') { |
newIndex = bmm.list.dataModel.indexOf(selectedItem) + 1; |
} |
chrome.bookmarks.create({ |