зеркало из https://github.com/mozilla/pjs.git
Fix nsbeta3+ bug 43908, need to check where drag initiates in bookmarks tree. Patch by jrgm. r=me, a=brendan
This commit is contained in:
Родитель
55e89a2de2
Коммит
e2fcf654eb
|
@ -42,7 +42,7 @@ function BeginDragTree ( event )
|
||||||
// if the click is on the tree proper, ignore it. We only care about clicks on items.
|
// if the click is on the tree proper, ignore it. We only care about clicks on items.
|
||||||
|
|
||||||
var tree = document.getElementById("bookmarksTree");
|
var tree = document.getElementById("bookmarksTree");
|
||||||
if ( event.target == tree )
|
if ( event.target == tree || event.target.localName == "treechildren" )
|
||||||
return(true); // continue propagating the event
|
return(true); // continue propagating the event
|
||||||
|
|
||||||
var childWithDatabase = tree;
|
var childWithDatabase = tree;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче