changes needed to get -installer and -ProfileManager working in the new

ben goodger world.


git-svn-id: svn://10.0.0.236/trunk@57630 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
2000-01-13 04:30:20 +00:00
parent a7972696d1
commit 487e12ecc7
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ function StartUp()
{
SetUpOKCancelButtons();
centerWindowOnScreen();
if( window.location.search == "?manage=true" )
if(window.location && window.location.search && window.location.search == "?manage=true" )
SwitchProfileManagerMode();
// bundle = srGetStrBundle("chrome://profile/locale/profileSelection.properties");
loadElements();

View File

@@ -82,7 +82,7 @@
#define PROFILE_SELECTION_URL "chrome://profile/content/profileSelection.xul"
#define PROFILE_SELECTION_CMD_LINE_ARG "-SelectProfile"
#define PROFILE_MANAGER_URL "chrome://profile/content/profileManager.xul"
#define PROFILE_MANAGER_URL "chrome://profile/content/profileSelection.xul?manage=true"
#define PROFILE_MANAGER_CMD_LINE_ARG "-ProfileManager"
#define PROFILE_WIZARD_URL "chrome://profile/content/createProfileWizard.xul"
#define CONFIRM_AUTOMIGRATE_URL "chrome://profile/content/confirmMigration.xul"