From 4b4c4d8047c1d3a188b2448beea25e8ace1b5c83 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Sat, 2 Sep 2000 03:53:19 +0000 Subject: [PATCH] better fix for the "dragging scrollbars" bug git-svn-id: svn://10.0.0.236/trunk@77987 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/components/history/resources/history.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpfe/components/history/resources/history.js b/mozilla/xpfe/components/history/resources/history.js index f68cc340450..7a5db14cbc7 100644 --- a/mozilla/xpfe/components/history/resources/history.js +++ b/mozilla/xpfe/components/history/resources/history.js @@ -88,14 +88,14 @@ var historyDNDObserver = { var title = aEvent.target.getAttribute("value"); var uri = aEvent.target.parentNode.parentNode.id; dump("*** title = " + title + "; uri = " + uri + "\n"); - if ( title == "" && uri == "" ) // make sure we have something to drag + if ( aEvent.target.localName != "treecell" ) // make sure we have something to drag return null; var htmlString = "" + title + ""; var flavourList = { }; flavourList["text/unicode"] = { width: 2, data: uri }; flavourList["text/html"] = { width: 2, data: htmlString }; - flavourList["text/x-moz-url"] = { width: 2, data: uri + " " + "[ TEMP TITLE ]" }; + flavourList["text/x-moz-url"] = { width: 2, data: uri + " " + title }; return flavourList; },