adding title (modulo bug) to x-moz-url flavor when dragging proxy icon. r=scc, bug#37410

git-svn-id: svn://10.0.0.236/trunk@210359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com 2006-09-14 05:50:55 +00:00
parent 320cc57ddf
commit 4fa83f13c3

View File

@ -317,7 +317,9 @@ 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 };
// flavourList["text/x-moz-url"] = { width: 2, data: urlBar.value + " " + window.title };
//*** hack until bug 41984 is fixed. uncomment the above line, it is the "correct" fix
flavourList["text/x-moz-url"] = { width: 2, data: urlBar.value + " " + "( TEMP TITLE )" };
var htmlString = "<a href=\"" + urlBar.value + "\">" + urlBar.value + "</a>";
flavourList["text/html"] = { width: 2, data: htmlString };
return flavourList;