javascript to toggle record selection status
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 May 2018 21:28:46 +0000 (17:28 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 18 May 2018 21:33:12 +0000 (17:33 -0400)
commit59d869e705209d969b23917815d08d17e5240dc5
treebd2f4558be6fa01899abc1904c9741900c670334
parenteb5c8fd26bd4e0a9c0b288b1a0ea50429604de09
javascript to toggle record selection status

- checkboxes now show up only when JavaScript enabled
- toggling a single record checkbox adds/removes it from temporary list
- toggling the select all checkbox adds/removes all records on the page
- legacy add/remove links when a patron is not logged in tweaked to
  always be present, but to have visibility controlled based on checkbox
  chanegs

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2
Open-ILS/web/js/ui/default/opac/record_selectors.js [new file with mode: 0644]