error when checking in bookmarks code

for bug56574
a=alecf
a=rjc
This commit is contained in:
matt%netscape.com 2000-10-20 00:39:17 +00:00
Родитель a2a0e487d7
Коммит 246fa7f075
2 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -146,11 +146,10 @@ function sidebarOpenURL(event, treeitem, root)
var src = rdf.GetResource(id, true);
var prop = rdf.GetResource("http://home.netscape.com/NC-rdf#URL", true);
var target = root.GetTarget(src, prop, true);
if (target) target = target.QueryInterface(Components.interfaces.nsIRDFLiteral);
if (target) target = target.Value;
if (target) id = target;
}
}
if (target) target = target.QueryInterface(Components.interfaces.nsIRDFLiteral);
if (target) target = target.Value;
if (target) id = target;
}
}
catch(ex)
{

Просмотреть файл

@ -53,7 +53,7 @@
ondraggesture="return BeginDragTree(event);"
ondragdrop="return DropOnTree(event);"
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch rdf:httpindex"
onclick=" return clicked(event, event.target.parentNode.parentNode, 'Tree')">
onclick="return clicked(event, event.target.parentNode.parentNode)">
<template>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">