From: Bill Erickson Date: Wed, 17 Feb 2021 15:09:30 +0000 (-0500) Subject: LP1888723 Remove no longer needed (click) handler X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f33bc3f10fa6a77e1f1f2c20d048381f7f08e41a;p=working%2FEvergreen.git LP1888723 Remove no longer needed (click) handler The holdings Edit link no longer includes a redirect and can be opened/closed as expected via a regular href (routerLink). Signed-off-by: Bill Erickson Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts index bb535918fe..8bf4469c52 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts @@ -36,8 +36,6 @@ export class CopiesComponent implements OnInit { cellTextGenerator: GridCellTextGenerator; - openHoldingsEditor: (item: number) => void; - constructor( private course: CourseService, private net: NetService, @@ -91,11 +89,6 @@ export class CopiesComponent implements OnInit { this.copyGrid.reload(); } }); - - this.openHoldingsEditor = (item: number) => { - window.open('/eg/staff/cat/item/' + item + '/edit', '_blank'); - }; - } orgName(orgId: number): string {