Fix for Javascript Strict Warning in unifinderToDo.js

RESOLVED FIXED

Status

--
minor
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: ssitter, Assigned: mostafah)

Tracking

Trunk
x86
Windows 2000

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
Changing task progress via context menu gives Javascript Strict Warning:

Warning: assignment to undeclared variable v
Source File: chrome://calendar/content/unifinderToDo.js
Line: 583

Warning: assignment to undeclared variable todoItem
Source File: chrome://calendar/content/unifinderToDo.js
Line: 584

Patch follows.

Reproducible: Always

Steps to Reproduce:
n.a.
(Reporter)

Comment 1

13 years ago
Created attachment 200662 [details] [diff] [review]
patch

Use already declared but unused var "toDoItem" instead of "todoItem", declare "v"
Attachment #200662 - Flags: first-review?(jminta)

Comment 2

13 years ago
Comment on attachment 200662 [details] [diff] [review]
patch

r=jminta.  We'll get this checked in as early in the 0.3a2 cycle as possible.
Attachment #200662 - Flags: first-review?(jminta) → first-review+

Comment 3

13 years ago
patch checked in
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.