make XPInstall confirm dialog default to cancel (bug 149478) r=syd,sr=mscott

git-svn-id: svn://10.0.0.236/trunk@126933 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dveditz%netscape.com 2002-08-10 01:25:35 +00:00
parent aacd4de893
commit ae64c85209

View File

@ -69,7 +69,11 @@ function onLoad()
var okText = document.getElementById("xpinstallBundle").getString("OK");
var okButton = document.getElementById("ok")
okButton.label = okText;
okButton.focus();
okButton.setAttribute("default",false);
var cancelButton = document.getElementById("cancel")
cancelButton.focus();
cancelButton.setAttribute("default",true);
}
function onOk()