From 3c3377008c95e17bdcf25b51df6d60fbf10c8f3a Mon Sep 17 00:00:00 2001 From: Bill Erickson <berickxx@gmail.com> Date: Tue, 28 May 2019 12:15:34 -0400 Subject: [PATCH] LP1823367 Grid toolbar checkbox onChange repairs Update checkbox onChange handler in the grid toolbar to emit an event instead of trying to call the handler like a function. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Dan Wells <dbw2@calvin.edu> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org> --- Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html index 35781a5014..55ca188f50 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html +++ b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html @@ -25,7 +25,7 @@ <label class="form-check-label"> <input class="form-check-input" type="checkbox" [(ngModel)]="cb.isChecked" - (click)="cb.onChange($event.target.checked)"/> + (click)="cb.onChange.emit($event.target.checked)"/> {{cb.label}} </label> </ng-container> -- 2.11.0