mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
4437cc01cf
commit
28c106ce0b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user