This commit is contained in:
mconnor%myrealbox.com 2004-07-06 03:44:54 +00:00
parent 22049cde58
commit a73ce3711d

View File

@ -291,8 +291,8 @@ function getNormalizedURL(url)
function createNewFolder ()
{
var bookmarksView = document.getElementById("bookmarks-view");
var selection = bookmarksView.getTreeSelection();
var target = BookmarksUtils.getTargetFromSelection(selection)
var resource = bookmarksView.treeBuilder.getResourceAtIndex(bookmarksView.currentIndex);
var target = BookmarksUtils.getTargetFromFolder(resource);
BookmarksCommand.createNewFolder(target);
}