Added options to delete operation, bug 6684

This commit is contained in:
racham%netscape.com 1999-08-10 08:03:21 +00:00
Родитель f3a412e7b7
Коммит 640665c397
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -80,7 +80,7 @@ function RenameProfile(w)
this.location.href = "resource:/res/profile/pm.xul";
}
function DeleteProfile()
function DeleteProfile(deleteFilesFlag)
{
if (!selected)
{
@ -92,7 +92,7 @@ function DeleteProfile()
var name = selected.getAttribute("rowName");
//dump("Delete '" + name + "'\n");
profileCore.DeleteProfile(name);
profileCore.DeleteProfile(name, deleteFilesFlag);
//this.location.replace(this.location);
//this.location.href = this.location;
this.location.href = "resource:/res/profile/pm.xul";

Просмотреть файл

@ -13,7 +13,8 @@
<html:center>
Confirm delete?
<html:br />
<titledbutton value="Ok" class="push" onclick="opener.DeleteProfile();window.close();" />
<titledbutton value="Delete Files" class="push" onclick="opener.DeleteProfile('true');window.close();" />
<titledbutton value="Don't Delete Files" class="push" onclick="opener.DeleteProfile('false');window.close();" />
<titledbutton value="Cancel" class="push" onclick="window.close();" />
</html:center>