Closed Bug 313660 Opened 14 years ago Closed 14 years ago

Fix for Javascript Strict Warning in unifinderToDo.js

Categories

(Calendar :: Sunbird Only, defect, minor)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: mostafah)

Details

Attachments

(1 file)

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.
Attached patch patchSplinter Review
Use already declared but unused var "toDoItem" instead of "todoItem", declare "v"
Attachment #200662 - Flags: first-review?(jminta)
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+
patch checked in
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.