LP#1785333: Right-click can clear grid selection
authora. bellenir <ab@grpl.org>
Tue, 7 Aug 2018 22:18:41 +0000 (18:18 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 8 Aug 2018 15:51:39 +0000 (11:51 -0400)
commit7201dd039de661d57b9935f763531492536e11da
tree9d733d2a23434088d18b83dee0675d38f1a1bbed
parent43aca456ff7f31c00e5521c70f933e25ebf433a0
LP#1785333: Right-click can clear grid selection

This commit uses egGrid's indexValue API to identify the clicked row rather
than depending on grid row order when checking whether the that row is
currently selected.  This is a generalized fix for all grids.

Signed-off-by: a. bellenir <ab@grpl.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/ui/default/staff/services/grid.js