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:
parent
aacd4de893
commit
ae64c85209
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user