From 4e5d858c796427c25c6e1162e4b235fca3a915b2 Mon Sep 17 00:00:00 2001 From: "jminta%gmail.com" Date: Sun, 23 Oct 2005 14:56:54 +0000 Subject: [PATCH] Bug 313477 Fix for Javascript Strict Warning in aboutDialog.js. patch by ssitter.mz@web.de, r=jminta git-svn-id: svn://10.0.0.236/trunk@182815 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/calendar/sunbird/base/content/aboutDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/calendar/sunbird/base/content/aboutDialog.js b/mozilla/calendar/sunbird/base/content/aboutDialog.js index 8487876bf37..0169b15ba09 100644 --- a/mozilla/calendar/sunbird/base/content/aboutDialog.js +++ b/mozilla/calendar/sunbird/base/content/aboutDialog.js @@ -35,6 +35,8 @@ * * ***** END LICENSE BLOCK ***** */ +var gSelectedPage = 0; + function init(aEvent) { if (aEvent.target != document) @@ -44,7 +46,6 @@ function init(aEvent) var button = document.documentElement.getButton("extra2"); button.setAttribute("label", document.documentElement.getAttribute("creditslabel")); - gSelectedPage = 0; button.addEventListener("command", switchPage, false); document.documentElement.getButton("accept").focus();