Fix to name Internet Shortcuts after the document title, not the window title. b=41984, a=ben@netscape.com, r=ben@netscape.com

git-svn-id: svn://10.0.0.236/trunk@81019 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
locka%iol.ie
2000-10-12 14:21:10 +00:00
parent 0dc40a6753
commit f8ca0fd8cd

View File

@@ -433,7 +433,7 @@ var proxyIconDNDObserver = {
var urlBar = document.getElementById("urlbar");
var flavourList = { };
flavourList["text/unicode"] = { width: 2, data: urlBar.value };
flavourList["text/x-moz-url"] = { width: 2, data: urlBar.value + " " + window.title };
flavourList["text/x-moz-url"] = { width: 2, data: urlBar.value + " " + window._content.document.title };
var htmlString = "<a href=\"" + urlBar.value + "\">" + urlBar.value + "</a>";
flavourList["text/html"] = { width: 2, data: htmlString };
return flavourList;