зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
4ba70a721c
Коммит
0a378c4993
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче