Closed
Bug 304352
Opened 19 years ago
Closed 19 years ago
Percent complete isn't checkmarked in the task-list context menu
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jminta, Assigned: jminta)
Details
(Keywords: polish)
Attachments
(1 file)
1.57 KB,
patch
|
mvl
:
first-review+
|
Details | Diff | Splinter Review |
In Sunbird 0.2, the task-list context menu displayed a checkmark next to the appropriate percent-complete label. This doesn't happen anymore.
Assignee | ||
Comment 1•19 years ago
|
||
This section of the code hadn't been updated to use .percentComplete
Comment 2•19 years ago
|
||
Comment on attachment 192408 [details] [diff] [review] use percentComplete > >- if( document.getElementById( "percent-"+toDoItem.percent+"-menuitem" ) ) >+ if( document.getElementById( "percent-"+toDoItem.percentComplete+"-menuitem" ) ) > { >- document.getElementById( "percent-"+toDoItem.percent+"-menuitem" ).setAttribute( "checked", "true" ); >+ document.getElementById( "percent-"+toDoItem.percentComplete+ >+ "-menuitem" ).setAttribute( "checked", "true" ); Nit: move the string generation on one line, like: document.getElementById("percent-" + toDoItem.percentComplete + "-menuitem"). setAttribute("checked", "true"); (also has some whitespace changes) r=mvl with that.
Attachment #192408 -
Flags: first-review?(mvl) → first-review+
Assignee | ||
Comment 3•19 years ago
|
||
Patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•