From 6c8ab1f39a0af91537d21296fd4d9bcd7de82a0a Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Mon, 9 Sep 2019 05:11:15 -0700 Subject: [PATCH] LP1816475: Add a Create Reservation button to the Create Reservation screen Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.ts | 2 +- .../eg2/src/app/staff/booking/create-reservation.component.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.ts b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.ts index ae55c56f32..b9c1d30728 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.ts @@ -78,7 +78,7 @@ export class GridToolbarComponent implements OnInit { performButtonAction(button: GridToolbarButton) { const rows = this.gridContext.getSelectedRows(); - button.onClick.emit(); + button.onClick.emit(rows); if (button.action) { button.action(); } } diff --git a/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.html b/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.html index 64bbdf84df..104e82d287 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.html +++ b/Open-ILS/src/eg2/src/app/staff/booking/create-reservation.component.html @@ -170,6 +170,7 @@ [rowFlairCallback]="resourceAvailabilityIcon" [disablePaging]="true" persistKey="disabled"> + -- 2.43.2