From f561369234bca1475d7c2de9fd962ba507472dca Mon Sep 17 00:00:00 2001 From: "stephend%netscape.com" Date: Thu, 6 Jun 2002 23:56:56 +0000 Subject: [PATCH] Bug 148597. Can't drag a bookmark from personal toolbar to a tab. Patch by Pierre Chanial r=timeless, sr=blake, a=asa --- xpfe/browser/resources/content/navigatorDD.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpfe/browser/resources/content/navigatorDD.js b/xpfe/browser/resources/content/navigatorDD.js index dc01e66a0c4..2d93d16df54 100644 --- a/xpfe/browser/resources/content/navigatorDD.js +++ b/xpfe/browser/resources/content/navigatorDD.js @@ -253,7 +253,7 @@ var personalToolbarDNDObserver = { //PCH: cleanup needed here, url is already calculated in isBookmark() var db = document.getElementById("innermostBox").database; - var url = RDFUtils.getTarget(db, uri, NC_RDF("ID")); + var url = RDFUtils.getTarget(db, uri, NC_RDF("URL")); if (url) url = url.QueryInterface(Components.interfaces.nsIRDFLiteral).Value; else @@ -264,7 +264,7 @@ var personalToolbarDNDObserver = { else name = ""; var urlString = url + "\n" + name; - var htmlString = "" + name + ""; + var htmlString = "" + name + ""; aXferData.data = new TransferData(); aXferData.data.addDataForFlavour("moz/rdfitem", uri); aXferData.data.addDataForFlavour("text/x-moz-url", urlString);