Bug 123189. JS strict warning. (redeclaration). Patch by Stephen Walker <walk84@yahoo.com> r=stephend@netscape.com, sr=hewitt@netscape.com

git-svn-id: svn://10.0.0.236/trunk@113883 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
stephend%netscape.com 2002-02-07 06:48:06 +00:00
parent 738a9f3963
commit f495fcbe23

View File

@ -107,7 +107,7 @@ function commonDialogOnLoad()
iconElement.setAttribute("class", iconElement.getAttribute("class") + " " + iconClass);
// set the number of command buttons
var nButtons = gCommonDialogParam.GetInt(2);
nButtons = gCommonDialogParam.GetInt(2);
switch (nButtons) {
case 4:
document.documentElement.getButton("extra2").label = gCommonDialogParam.GetString(11);