blakeross%telocity.com 98b4e0ab02 The last two patches were by John Morrison <jrgm@netscape.com>. Sorry for forgetting to attribute them.
git-svn-id: svn://10.0.0.236/trunk@92283 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 05:30:53 +00:00

33 lines
780 B
JavaScript

function Startup()
{
var bundle = document.getElementById("bundle_profileManager");
doSetOKCancel(onDontDeleteFiles, onCancel, onDeleteFiles, null);
var okButton = document.getElementById("ok");
var Button2 = document.getElementById("Button2");
var cancelButton = document.getElementById("cancel");
okButton.setAttribute("label", bundle.getString("dontDeleteFiles"));
Button2.setAttribute("label", bundle.getString("deleteFiles"));
cancelButton.setAttribute("label", bundle.getString("cancel"));
Button2.removeAttribute("collapsed");
okButton.focus();
}
function onDeleteFiles()
{
opener.DeleteProfile(true);
window.close();
}
function onDontDeleteFiles()
{
opener.DeleteProfile(false);
window.close();
}
function onCancel()
{
window.close();
}