From f495fcbe231fa33ca3dca3f6f90ef53f61fc2f61 Mon Sep 17 00:00:00 2001 From: "stephend%netscape.com" Date: Thu, 7 Feb 2002 06:48:06 +0000 Subject: [PATCH] Bug 123189. JS strict warning. (redeclaration). Patch by Stephen Walker r=stephend@netscape.com, sr=hewitt@netscape.com git-svn-id: svn://10.0.0.236/trunk@113883 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/global/resources/content/commonDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/xpfe/global/resources/content/commonDialog.js b/mozilla/xpfe/global/resources/content/commonDialog.js index 1b6e2bd2479..a5e3c41288f 100644 --- a/mozilla/xpfe/global/resources/content/commonDialog.js +++ b/mozilla/xpfe/global/resources/content/commonDialog.js @@ -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);