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:
blakeross%telocity.com 2000-09-14 04:59:03 +00:00
Родитель 55e89a2de2
Коммит e2fcf654eb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;