home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.swcp.com
/
ftp.swcp.com.zip
/
ftp.swcp.com
/
mac
/
mozilla-macos9-1.3.1.sea.bin
/
Mozilla1.3.1
/
Chrome
/
comm.jar
/
content
/
communicator
/
profile
/
deleteProfile.js
< prev
next >
Wrap
Text File
|
2003-06-08
|
780b
|
33 lines
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();
}