webstaff: teach egGrid how to disable multiselect
authorGalen Charlton <gmc@esilibrary.com>
Fri, 17 Jul 2015 19:22:36 +0000 (19:22 +0000)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 19 Aug 2015 17:39:19 +0000 (13:39 -0400)
commit0e70e8487b188007d4dcdaa719d4e0a5b207404b
treeea1c6134d2b64e6ca734563aeedb40e603dd9692
parent4d8fa577557b0acf9a8e87a4dc4e82fd9a48c69e
webstaff: teach egGrid how to disable multiselect

For grids where it makes sense to allow only one row to be
selected at a time, egGrid now supports a "-multiselect"
feature that:

  * disables generation of the checkbox column
  * disables control-/shift/command-click to multiselect

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/templates/staff/share/t_autogrid.tt2
Open-ILS/web/js/ui/default/staff/services/grid.js