зеркало из https://github.com/mozilla/gecko-dev.git
Changed to load the new cpw.xul
This commit is contained in:
Родитель
f0b7d7fb08
Коммит
8ddcc62d7b
|
@ -2,15 +2,16 @@ var profileCore = "";
|
|||
var selected = null;
|
||||
var currProfile = "";
|
||||
|
||||
function CreateProfile()
|
||||
function openCreateProfile()
|
||||
{
|
||||
// Need to call CreateNewProfile xuls
|
||||
// var win = window.openDialog('resource://res/profile/cpwManager.xul', 'Creator', 'chrome');
|
||||
dump("\ngot here\n");
|
||||
//this.location.replace(this.location);
|
||||
//this.location.replace("resource:/res/profile/cpwManager.xul");
|
||||
this.location.href = "resource:/res/profile/cpwManager.xul";
|
||||
//this.location = "resource:/res/profile/cpwManager.xul";
|
||||
var win = window.openDialog('cpw.xul', 'CPW', 'chrome');
|
||||
return win;
|
||||
}
|
||||
|
||||
function CreateProfile()
|
||||
{
|
||||
this.location.href = "resource:/res/profile/pm.xul";
|
||||
}
|
||||
|
||||
function MigrateProfile(override)
|
||||
|
@ -215,7 +216,7 @@ function openRename()
|
|||
if (migrate == "true")
|
||||
dump("Migrate the profile before renaming it.\n");
|
||||
else
|
||||
var win = window.openDialog('pmrename.xul', 'Renamer', 'chrome');
|
||||
var win = window.openDialog('pmRename.xul', 'Renamer', 'chrome');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ xmlns:html="http://www.w3.org/TR/REC-html40"
|
|||
|
||||
<box align="horizontal">
|
||||
<box align="vertical">
|
||||
<titledbutton value="&newCmd.label;" onclick="CreateProfile();" style="margin-bottom: 1em;"/>
|
||||
<titledbutton value="&newCmd.label;" onclick="openCreateProfile();" style="margin-bottom: 1em;"/>
|
||||
<titledbutton value="&migrateCmd.label;" onclick="MigrateProfile();"/>
|
||||
<titledbutton value="&migrateAllCmd.label;" onclick="ConfirmMigrateAll();" style="margin-bottom: 1em;"/>
|
||||
<titledbutton value="&renameCmd.label;" onclick="openRename();" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче