fix for bug #379552: when I drop a page with no title onto the personal toolbar, we should use the uri as the title.r=mano

This commit is contained in:
sspitzer@mozilla.org 2007-05-03 07:37:11 -07:00
parent 4437cc01cf
commit 28c106ce0b

View File

@ -605,7 +605,7 @@ var PlacesUtils = {
if (i > (parts.length - 2))
break;
nodes.push({ uri: this._uri(parts[i++]),
title: parts[i] });
title: parts[i] ? parts[i] : parts[i-1] });
break;
case this.TYPE_UNICODE:
// See above.