otwcode/otwarchive — pull request #733 by larissa (2012-07-01 04:47:27+00:00)
Title: Issue 2991

The javascript for check_all and check_none only searched for checkboxes
in the next fieldset, which would return none since the buttons in the
bottom are the last siblings in the DOM tree and next() doesn't loop back
to the first sibling.

Changes were made so it looks also in the previous sibling.

Plus a quick fix in the view which had incorrect class names (Issue 2820)