mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
fix for bug #203251, Cancelling Add Account Wizard gives error message in JS console
r=bz, sr=sspitzer, a=sspitzer, thanks to ian@arlen.demon.co.uk for the patch.
This commit is contained in:
parent
4cda207d0e
commit
c9df22ab39
@ -195,12 +195,15 @@ function verifyAccounts(wizardcallback) {
|
||||
// has closed, and this is confusing to the user
|
||||
function MsgAccountWizard()
|
||||
{
|
||||
setTimeout("msgOpenAccountWizard();", 0);
|
||||
setTimeout("msgOpenAccountWizard();", 0);
|
||||
}
|
||||
|
||||
function msgOpenAccountWizard()
|
||||
{
|
||||
// Check to see if the verify accounts function was called with callback or not.
|
||||
gNewAccountToLoad = null;
|
||||
|
||||
// Check to see if the verify accounts function
|
||||
// was called with callback or not.
|
||||
if (gReturnmycall)
|
||||
window.openDialog("chrome://messenger/content/AccountWizard.xul",
|
||||
"AccountWizard", "chrome,modal,titlebar,resizable", {okCallback:WizCallback});
|
||||
|
Loading…
Reference in New Issue
Block a user