Bug 407292 - "When adding a bookmark with no title, we should use the uri as the title" [p=mak77@supereva.it (Marco Bonardo [MaK77]) r=Mano a=blocking-firefox3+]

This commit is contained in:
reed@reedloden.com 2007-12-14 16:24:09 -08:00
parent 2dfd774172
commit 22be418f0e

View File

@ -184,7 +184,7 @@ var PlacesCommandHook = {
var title;
var description;
try {
title = webNav.document.title;
title = webNav.document.title || url.spec;
description = PlacesUtils.getDescriptionFromDocument(webNav.document);
}
catch (e) { }