Fix shift+tab in mail compose (bug 240504). r=neil, sr=jst

git-svn-id: svn://10.0.0.236/trunk@155133 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com 2004-04-19 17:48:34 +00:00
parent f264039089
commit da3babbccb

View File

@ -3147,7 +3147,7 @@ nsEventStateManager::ShiftFocusInternal(PRBool aForward, nsIContent* aStart)
nsIContent *startContent = nsnull;
if (aStart) {
presShell->GetPrimaryFrameFor(startContent, &curFocusFrame);
presShell->GetPrimaryFrameFor(aStart, &curFocusFrame);
// If there is no frame, we can't navigate from this content node, and we
// fall back to navigating from the document root.