use new get-password and get-user dialog
git-svn-id: svn://10.0.0.236/trunk@35082 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3142059e02
commit
e4497eb7a4
@ -205,13 +205,7 @@ si_PromptPassword (char *szMessage) {
|
||||
}
|
||||
if (dialog) {
|
||||
const nsString message = szMessage;
|
||||
#ifdef xxx
|
||||
dialog->PromptPassword(message, password, &retval);
|
||||
#else
|
||||
/* temporary until PromptPassword is implemented */
|
||||
nsString username;
|
||||
dialog->PromptUserAndPassword(message, username, password, &retval);
|
||||
#endif
|
||||
}
|
||||
nsServiceManager::ReleaseService(kNetSupportDialogCID, dialog);
|
||||
if (retval) {
|
||||
@ -234,13 +228,7 @@ si_Prompt(char *szMessage, char* szDefaultUsername) {
|
||||
}
|
||||
if (dialog) {
|
||||
const nsString message = szMessage;
|
||||
#ifdef xxx
|
||||
dialog->Prompt(message, defaultUsername, username, &retval);
|
||||
#else
|
||||
/* temporary until Prompt is implemented */
|
||||
nsString password;
|
||||
dialog->PromptUserAndPassword(message, username, password, &retval);
|
||||
#endif
|
||||
}
|
||||
nsServiceManager::ReleaseService(kNetSupportDialogCID, dialog);
|
||||
if (retval) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user