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

git-svn-id: svn://10.0.0.236/trunk@93494 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cmanske%netscape.com
2001-04-30 23:58:55 +00:00
parent b4684f6958
commit e64ed9fc90
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;
}
}