Bug 69295 [RFE] Unable to follow link/copy/drag elements of Page Info, e.g. images

patch by db48x@yahoo.com r=timeless sr=bz
This commit is contained in:
timeless%mac.com 2002-08-30 14:50:16 +00:00
Родитель 3e13e631d7
Коммит 310b5f8795
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -496,7 +496,7 @@ function makeLinkTab()
if (elem.hasAttributeNS(XLinkNS, "href"))
{
linktext = getValueText(elem);
linkView.AddRow([++linkIndex, linktext, elem.href, linkX, ""]);
linkView.addRow([++linkIndex, linktext, elem.href, linkX, ""]);
}
else
dump("Page Info - makeLinkTab(): Hey, that's an odd one! ("+elem+")");
@ -543,9 +543,9 @@ function grabAllXLinks(aDocument)
{
function XLinkFilter()
{
this.acceptNode = function(aDocument)
this.acceptNode = function(aNode)
{
return (aDocument.hasAttributeNS(XLinkNS, "href")) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
return (aNode.hasAttributeNS(XLinkNS, "href")) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
}
}