From 3c6e04701fd26fc5a37b6bf9a4ea38336f48a93c Mon Sep 17 00:00:00 2001 From: "mostafah%oeone.com" Date: Wed, 3 Nov 2004 18:58:12 +0000 Subject: [PATCH] Fixed:Warning: assignment to undeclared variable i --- calendar/resources/content/alertDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/resources/content/alertDialog.js b/calendar/resources/content/alertDialog.js index b23ed1854fc7..f1b77e5fb52f 100644 --- a/calendar/resources/content/alertDialog.js +++ b/calendar/resources/content/alertDialog.js @@ -116,7 +116,7 @@ function onAlarmCall( Event ) { var AddToArray = true; //check and make sure that the event is not already in the array - for( i = 0; i < gAllEvents.length; i++ ) + for( var i = 0; i < gAllEvents.length; i++ ) { if( gAllEvents[i].id == Event.id ) AddToArray = false;