From: Bill Erickson <berickxx@gmail.com>
Date: Tue, 28 May 2019 16:15:34 +0000 (-0400)
Subject: LP1823367 Grid toolbar checkbox onChange repairs
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3c3377008c95e17bdcf25b51df6d60fbf10c8f3a;p=contrib%2FConifer.git

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>
---

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>