зеркало из https://github.com/mozilla/pjs.git
Last part of fix for 6776. Check for containers properly when openening bookmarks. Previously approved by chofmann. Fix by rjc.
This commit is contained in:
Родитель
cf354616e6
Коммит
450c796d91
|
@ -222,8 +222,7 @@
|
|||
|
||||
function OpenBookmarkURL(node)
|
||||
{
|
||||
if (node.getAttribute('type') !=
|
||||
"http://home.netscape.com/NC-rdf#Bookmark") {
|
||||
if (node.getAttribute('container') == "true") {
|
||||
return false;
|
||||
}
|
||||
url = node.getAttribute('id');
|
||||
|
@ -234,7 +233,7 @@
|
|||
}
|
||||
|
||||
window.frames[0].frames[1].location.href = url;
|
||||
RefreshUrlbar();
|
||||
RefreshUrlbar();
|
||||
}
|
||||
|
||||
function BrowserNewWindow()
|
||||
|
|
Загрузка…
Ссылка в новой задаче