mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 409808: Dragging favicon to desktop fails to save properly url with some non-english languages, patch by Dão Gottwald <dao@mozilla.com>, r=me, a=beltzner
This commit is contained in:
parent
3be9e5fa1f
commit
c60b05a7e6
@ -2549,13 +2549,8 @@ function FillInHTMLTooltip(tipElement)
|
||||
var proxyIconDNDObserver = {
|
||||
onDragStart: function (aEvent, aXferData, aDragAction)
|
||||
{
|
||||
var value = gURLBar.value;
|
||||
// XXX - do we want to allow the user to set a blank page to their homepage?
|
||||
// if so then we want to modify this a little to set about:blank as
|
||||
// the homepage in the event of an empty urlbar.
|
||||
if (!value) return;
|
||||
|
||||
var urlString = value + "\n" + window.content.document.title;
|
||||
var value = content.location.href;
|
||||
var urlString = value + "\n" + content.document.title;
|
||||
var htmlString = "<a href=\"" + value + "\">" + value + "</a>";
|
||||
|
||||
aXferData.data = new TransferData();
|
||||
|
Loading…
Reference in New Issue
Block a user