Closed Bug 867563 Opened 12 years ago Closed 12 years ago

Fix select-all checkbox

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

[14:36:33.683] SyntaxError: missing ( after for @ https://treestatus.allizom.org/?nc:11 Line 11 is: { for each(var checkbox in checkboxes) }
Attached patch Patch v1Splinter Review
Attachment #744101 - Flags: review?(catlee)
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+
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
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Webtools → Tree Management
Product: Tree Management → Release Engineering
Component: Applications: TreeStatus → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: