mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 378257 - Typo in buildSelectionMetadata causing wrong annotations name to fill in the node metadatap=onemen.one@gmail.comr=mano
This commit is contained in:
parent
b715161c4f
commit
14b3277bc6
@ -592,14 +592,14 @@ PlacesController.prototype = {
|
||||
if (uri) {
|
||||
var names = PlacesUtils.annotations.getPageAnnotationNames(uri, {});
|
||||
for (var j = 0; j < names.length; ++j)
|
||||
nodeData[names[i]] = true;
|
||||
nodeData[names[j]] = true;
|
||||
|
||||
// For bookmark-items also include the bookmark-specific annotations
|
||||
if ("bookmark" in nodeData) {
|
||||
var placeURI = PlacesUtils.bookmarks.getItemURI(node.bookmarkId);
|
||||
names = PlacesUtils.annotations.getPageAnnotationNames(placeURI, {});
|
||||
for (j = 0; j < names.length; ++j)
|
||||
nodeData[names[i]] = true;
|
||||
nodeData[names[j]] = true;
|
||||
}
|
||||
}
|
||||
#ifdef EXTENDED_LIVEBOOKMARKS_UI
|
||||
|
Loading…
Reference in New Issue
Block a user