]> git.evergreen-ils.org Git - Evergreen.git/commit
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:50:38 +0000 (11:50 -0400)
commit536e5e8cd2a4c753c2a13e001d9d906fe57022a9
tree2df2ad2e326f5bf322efa1b08cf54d4f57656886
parent457d7f65aeba76f7deb4581e8f3e1930aad4f592
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