From f33bc3f10fa6a77e1f1f2c20d048381f7f08e41a Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 17 Feb 2021 10:09:30 -0500 Subject: [PATCH] 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 --- Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts | 7 ------- 1 file changed, 7 deletions(-) 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 { -- 2.11.0