Closed
Bug 867563
Opened 12 years ago
Closed 12 years ago
Fix select-all checkbox
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
Details
Attachments
(1 file)
|
793 bytes,
patch
|
catlee
:
review+
|
Details | Diff | Splinter Review |
[14:36:33.683] SyntaxError: missing ( after for @ https://treestatus.allizom.org/?nc:11
Line 11 is:
{
for each(var checkbox in checkboxes)
}
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #744101 -
Flags: review?(catlee)
Comment 2•12 years ago
|
||
Comment on attachment 744101 [details] [diff] [review]
Patch v1
Review of attachment 744101 [details] [diff] [review]:
-----------------------------------------------------------------
::: treestatus/templates/index.html
@@ +10,4 @@
> function toggle(source) {
> checkboxes = document.getElementsByName('tree');
> + for(var i=0; i < checkboxes.length; i++)
> + checkboxes[i].checked = source.checked;
can you add {} for this for loop?
Attachment #744101 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Comment 4•12 years ago
|
||
Bah, in figuring out how to rebase in git, I'd missed off the main fix here of bug 823631 (s/language/type/) that I had tested locally.
Landed as:
https://github.com/mozilla/treestatus/commit/85138c89b59e6cb3c0328301e9b26e5d17430038
| Assignee | ||
Comment 5•12 years ago
|
||
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•10 years ago
|
Product: Tree Management → Release Engineering
Updated•4 years ago
|
Component: Applications: TreeStatus → General
You need to log in
before you can comment on or make changes to this bug.
Description
•