LP1826584 Spacebar closes alert/cofirm dialogs (Angular) user/berick/lp1826584-space-closes-some-dialogs
authorBill Erickson <berickxx@gmail.com>
Thu, 23 May 2019 16:54:21 +0000 (12:54 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 23 May 2019 16:54:32 +0000 (12:54 -0400)
commit49e5e0dace8fc923ac1b2f808225891c8a3ac848
treeb4ddfc142950d225e42e98f2cbc0e855ac60342c
parent4b7645b33b9cb8a7c2ad7231c7a597a504f95a21
LP1826584 Spacebar closes alert/cofirm dialogs (Angular)

Angular alert and confirm dialogs may now be closed with the space
bar in addition to the escape key.  Note for confirm dialogs, space
bar is the same as clicking the "OK/Continue" button.

Includes Alert and Confirm dialog examples in the sandbox page for
testing.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/dialog/alert.component.html
Open-ILS/src/eg2/src/app/share/dialog/alert.component.ts
Open-ILS/src/eg2/src/app/share/dialog/confirm.component.html
Open-ILS/src/eg2/src/app/share/dialog/confirm.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html