Save nested tree as nested bookmark folders correctly when a nested tree of tabs is droppend to bookmarks
This commit is contained in:
parent
4f73a9861d
commit
74a75f93aa
@ -79,7 +79,7 @@ var TreeStyleTabBookmarksService = {
|
||||
let index = aTreeStructure[i];
|
||||
let parent = index > -1 ? aBookarmks[index] : null ;
|
||||
if (parent && (parent.folder || parent).isFolder) {
|
||||
let folder = parent.folder || parent;
|
||||
let folder = parent.isFolder ? parent : parent.folder ;
|
||||
this.BookmarksService.moveItem(item.id, folder.id, -1);
|
||||
item.folder = folder;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user