I messed up my checkin for bug93521, I screwed up nesting when applying a patch that needed merging. Bah.

This commit is contained in:
saari%netscape.com 2001-08-21 02:27:34 +00:00
Родитель e44abc81c6
Коммит 74fd1e2f09
1 изменённых файлов: 10 добавлений и 10 удалений

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

@ -3725,16 +3725,16 @@ nsEventStateManager::SendFocusBlur(nsIPresContext* aPresContext, nsIContent *aCo
if (clearFirstFocusEvent) {
NS_RELEASE(mFirstFocusEvent);
} else if (!aContent) {
//fire focus on document even if the content isn't focusable (ie. text)
//see bugzilla bug 93521
nsEventStatus status = nsEventStatus_eIgnore;
nsEvent event;
event.eventStructType = NS_EVENT;
event.message = NS_FOCUS_CONTENT;
if (nsnull != mPresContext && mDocument) {
mDocument->HandleDOMEvent(mPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
}
}
} else if (!aContent) {
//fire focus on document even if the content isn't focusable (ie. text)
//see bugzilla bug 93521
nsEventStatus status = nsEventStatus_eIgnore;
nsEvent event;
event.eventStructType = NS_EVENT;
event.message = NS_FOCUS_CONTENT;
if (nsnull != mPresContext && mDocument) {
mDocument->HandleDOMEvent(mPresContext, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
}
}