fix for blocker #63603 - forgot to implement OpenURL r=timeless

a=blocker-baby
This commit is contained in:
alecf%netscape.com 2006-07-27 14:50:25 +00:00
Родитель 16c98a4271
Коммит ef3db6c0d6
1 изменённых файлов: 14 добавлений и 0 удалений

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

@ -58,3 +58,17 @@ var historyDNDObserver = {
} }
}; };
function OpenURL(event, node, root)
{
if ((event.button != 1) || (event.detail != 2)
|| (node.nodeName != "treeitem"))
return false;
if (node.getAttribute("container") == "true")
return false;
var url = node.id;
window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", url);
}