From: Jane Sandberg Date: Mon, 9 Sep 2019 12:11:15 +0000 (-0700) Subject: LP1816475: Add a Create Reservation button to the Create Reservation screen X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c2f7da619c2edbe6306160db1fa9543f5f6b959e;p=working%2FEvergreen.git LP1816475: Add a Create Reservation button to the Create Reservation screen Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- 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"> +