mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
bug 110081, r=adamlock, sr=ben, check for null url to avoid needless load
This commit is contained in:
parent
4d0b018635
commit
211c8eb32d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user