webstaff: tweak egGrid's row-click handler
authorGalen Charlton <gmc@esilibrary.com>
Mon, 25 Jan 2016 18:55:23 +0000 (13:55 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 25 Jan 2016 18:55:23 +0000 (13:55 -0500)
commit8e370cfd9a5031bb638286e570093f001adc7ecd
tree9500c3aa14888cd891ffe2003787eda996ac7026
parent71d470f8d2d8a11634dbf43c6c9719202771b221
webstaff: tweak egGrid's row-click handler

With this patch, multiselect-enabled grids now *toggle*
the selection status of affected rows, rather than select
only that row while deselecting the rest. This in turn
allows the double-click handler (if supplied) to act on
all selected rows if it wants to.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/staff/services/grid.js