зеркало из https://github.com/mozilla/pjs.git
Fix for bug 123868. Drag in History drags entire outliner frame.
r=bryner,sr=blake,a=asa
This commit is contained in:
Родитель
7ee84187e9
Коммит
a16c8ebd6f
|
@ -108,9 +108,9 @@ var nsDragAndDrop = {
|
|||
.createInstance(Components.interfaces.nsISupportsArray);
|
||||
|
||||
var region = null;
|
||||
if (aEvent.target.localName == "outliner") {
|
||||
if (aEvent.originalTarget.localName == "outlinerchildren") {
|
||||
// let's build the drag region
|
||||
var outliner = aEvent.target;
|
||||
var outliner = aEvent.originalTarget.parentNode;
|
||||
try {
|
||||
region = Components.classes["@mozilla.org/gfx/region;1"].createInstance(Components.interfaces.nsIScriptableRegion);
|
||||
region.init();
|
||||
|
|
Загрузка…
Ссылка в новой задаче