replacing location.this with the complete url as that call is failing
This commit is contained in:
Родитель
eb089c49a4
Коммит
70c2ee3e00
|
@ -36,7 +36,8 @@ function MigrateProfile(override)
|
|||
|
||||
profileCore.MigrateProfile(name);
|
||||
//this.location.replace(this.location);
|
||||
this.location.href = this.location;
|
||||
//this.location.href = this.location;
|
||||
this.location.href = "resource:/res/profile/pm.xul";
|
||||
}
|
||||
|
||||
function MigrateAllProfiles()
|
||||
|
@ -76,7 +77,7 @@ function RenameProfile(w)
|
|||
//dump("RenameProfile : " + oldName + " to " + newName + "\n");
|
||||
profileCore.RenameProfile(oldName, newName);
|
||||
//this.location.replace(this.location);
|
||||
this.location.href = this.location;
|
||||
this.location.href = "resource:/res/profile/pm.xul";
|
||||
}
|
||||
|
||||
function DeleteProfile()
|
||||
|
@ -93,7 +94,8 @@ function DeleteProfile()
|
|||
//dump("Delete '" + name + "'\n");
|
||||
profileCore.DeleteProfile(name);
|
||||
//this.location.replace(this.location);
|
||||
this.location.href = this.location;
|
||||
//this.location.href = this.location;
|
||||
this.location.href = "resource:/res/profile/pm.xul";
|
||||
}
|
||||
|
||||
function StartCommunicator()
|
||||
|
|
Загрузка…
Ссылка в новой задаче