Fixed problems when dragging off a table during table selection. r=mjudge

This commit is contained in:
cmanske%netscape.com 2000-03-17 04:24:04 +00:00
Родитель 3a3bf85501
Коммит 429e85acb0
1 изменённых файлов: 6 добавлений и 1 удалений

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

@ -1412,7 +1412,12 @@ nsRangeList::HandleClick(nsIContent *aNewFocus, PRUint32 aContentOffset,
{
InvalidateDesiredX();
mHint = HINT(aHint);
return TakeFocus(aNewFocus, aContentOffset, aContentEndOffset, aContinueSelection, aMultipleSelection);
// Don't take focus when dragging off of a table
if (!mSelectingTableCells)
return TakeFocus(aNewFocus, aContentOffset, aContentEndOffset, aContinueSelection, aMultipleSelection);
return NS_OK;
}
NS_IMETHODIMP