Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Stephenson <jason@sigio.com>
<a class="pl-1" target="_blank"
href="/eg/staff/cat/item/{{copy.id}}" i18n>View</a>
|
- <a class="pl-1" target="_blank"
- href="/eg/staff/cat/item/{{copy.id}}/edit" i18n>Edit</a>
+ <a class="pl-1" href="javascript:;"
+ (click)="openHoldingsEditor(copy.id)" i18n>Edit</a>
</div>
</ng-template>
cellTextGenerator: GridCellTextGenerator;
+ openHoldingsEditor: (item: number) => void;
+
constructor(
private course: CourseService,
private net: NetService,
this.copyGrid.reload();
}
});
+
+ this.openHoldingsEditor = (item: number) => {
+ window.open('/eg/staff/cat/item/' + item + '/edit', '_blank');
+ }
+
}
orgName(orgId: number): string {