Added call temporary call to SetInitialValue() in CreateAnonymousContent() to fix

the problem where we can't retrieve the password value from the password
dialog. Breaks logging into IMAP.
r=blizzard@mozilla.org a=leaf@mozilla.org
This commit is contained in:
kin%netscape.com 2000-09-08 14:55:49 +00:00
Родитель 4ba70a721c
Коммит 0a378c4993
1 изменённых файлов: 11 добавлений и 0 удалений

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

@ -1959,6 +1959,17 @@ nsGfxTextControlFrame2::CreateAnonymousContent(nsIPresContext* aPresContext,
}
}
// Temporary fix for the password dialog.
// We need to figure out why Reflow() and GetPrefSize() are
// not called for that dialog.
rv = SetInitialValue();
if (NS_FAILED(rv))
return rv;
// End temporary fix.
return NS_OK;
}