mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
bug 249305 - pike@pikey.me.uk
This commit is contained in:
parent
22049cde58
commit
a73ce3711d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user