Fixed context menu problem when > 1 cell selected, b=55991, r=akkana, sr=kin

This commit is contained in:
cmanske%netscape.com 2001-04-30 23:58:55 +00:00
parent 47fa1663fb
commit 2b11cbf638
2 changed files with 8 additions and 0 deletions

View File

@ -273,6 +273,10 @@ nsEditorShellMouseListener::MouseDown(nsIDOMEvent* aMouseEvent)
continue;//dont bail yet, iterate through them all
res = nsrange->IsPointInRange(parent, offset, &NodeIsInSelection);
// Done when we find a range that we are in
if (NodeIsInSelection)
break;
}
}

View File

@ -273,6 +273,10 @@ nsEditorShellMouseListener::MouseDown(nsIDOMEvent* aMouseEvent)
continue;//dont bail yet, iterate through them all
res = nsrange->IsPointInRange(parent, offset, &NodeIsInSelection);
// Done when we find a range that we are in
if (NodeIsInSelection)
break;
}
}