bug 249305 - pike@pikey.me.uk
git-svn-id: svn://10.0.0.236/trunk@158778 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user