From 4ba02caf026c612e134615781e8611b8429d9dc3 Mon Sep 17 00:00:00 2001 From: "pchen%netscape.com" Date: Thu, 14 Sep 2006 06:01:10 +0000 Subject: [PATCH] bug 110081, r=adamlock, sr=ben, check for null url to avoid needless load --- suite/browser/navigator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js index 69b0535d522..174d91e0eb3 100644 --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -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) {