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

This commit is contained in:
bryner%brianryner.com 2004-04-19 17:48:34 +00:00
parent f0a4f9efc5
commit c40b54ea5d

View File

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