undefined variable
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4855 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
1a83f1edc4
commit
53aa22fb2a
@ -83,7 +83,7 @@ var TreeStyleTabBookmarksProperty = {
|
|||||||
var items = this._getItemsInFolder(PlacesUtils.bookmarks.getFolderIdForItem(aCurrentItem));
|
var items = this._getItemsInFolder(PlacesUtils.bookmarks.getFolderIdForItem(aCurrentItem));
|
||||||
var treeStructure = TreeStyleTabService.getTreeStructureFromBookmarkItems(items);
|
var treeStructure = TreeStyleTabService.getTreeStructureFromBookmarkItems(items);
|
||||||
|
|
||||||
var selected = treeStructure[current];
|
var selected = treeStructure[items.indexOf(aCurrentItem)];
|
||||||
if (selected > -1) selected = items[selected];
|
if (selected > -1) selected = items[selected];
|
||||||
|
|
||||||
var fragment = document.createDocumentFragment();
|
var fragment = document.createDocumentFragment();
|
||||||
|
Loading…
Reference in New Issue
Block a user