зеркало из https://github.com/mozilla/gecko-dev.git
fix for blocker #63603 - forgot to implement OpenURL r=timeless
a=blocker-baby
This commit is contained in:
Родитель
16c98a4271
Коммит
ef3db6c0d6
|
@ -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);
|
||||||
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче