diff --git a/xpfe/components/history/resources/history.js b/xpfe/components/history/resources/history.js index 04b1f15a781b..5b3297122104 100644 --- a/xpfe/components/history/resources/history.js +++ b/xpfe/components/history/resources/history.js @@ -81,3 +81,19 @@ var HistoryController = { } }, }; + +var historyDNDObserver = { + onDragStart: function (aEvent) + { + var title = aEvent.target.getAttribute("value"); + var uri = aEvent.target.parentNode.parentNode.id; + dump("*** title = " + title + "; uri = " + uri + "\n"); + 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 ]" }; + return flavourList; + }, + +}; \ No newline at end of file diff --git a/xpfe/components/history/resources/history.xul b/xpfe/components/history/resources/history.xul index 0355b731e809..5b498ff12a92 100644 --- a/xpfe/components/history/resources/history.xul +++ b/xpfe/components/history/resources/history.xul @@ -41,7 +41,6 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" width="500" height="400" x="20" y="20" persist="width height x y" orient="vertical" - ondraggesture="return TopLevelDrag(event);" windowtype="history:manager">