bug 110081, r=adamlock, sr=ben, check for null url to avoid needless load

This commit is contained in:
pchen%netscape.com 2001-11-18 07:44:50 +00:00
parent 4d0b018635
commit 211c8eb32d

View File

@ -608,6 +608,8 @@ function OpenBookmarkURL(node, datasources)
return;
var url = node.getAttribute("id");
if (!url) // if empty url (most likely a normal menu item like "Manage Bookmarks",
return; // don't bother loading it
try {
// add support for IE favorites under Win32, and NetPositive URLs under BeOS
if (datasources) {