LP1803787 Grid context retains selection; lint user/berick/lp1803787-ang-grid-context-menu-3.2
authorBill Erickson <berickxx@gmail.com>
Wed, 6 Mar 2019 19:28:44 +0000 (14:28 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 6 Mar 2019 20:41:45 +0000 (15:41 -0500)
commit67af22b40a149838709a01d96a91059c996a0ae7
treebd1b26cc9fd6dbac2e19481c974424aad4e34c06
parente5e0ebd44ee1736f64f6337a59f9578dbc78d365
LP1803787 Grid context retains selection; lint

During right-click (context-menu click) if the currently focused row is
already selected, avoid modifying the selection.  If it's not, then
select the focused row only.

Minor lint, etc. repairs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/grid/grid-body.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html
Open-ILS/src/eg2/src/app/share/grid/grid.ts