From: Galen Charlton Date: Mon, 19 Apr 2021 21:21:39 +0000 (-0400) Subject: LP#1904244: AdminPageComponent: move onRowActivate subscription to markup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=30977573194977313c6e3cec94ee5e15cfd2b194;p=evergreen%2Fpines.git LP#1904244: AdminPageComponent: move onRowActivate subscription to markup This allows extenders of this interface to set their own non-default handlers. Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html index 45867e9103..a56294fd43 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html @@ -43,6 +43,7 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.component.html b/Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.component.html index 66084e5686..2b14ac42bc 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/server/floating-group/floating-group.component.html @@ -9,7 +9,8 @@ - + diff --git a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html index 8a3ef475b5..d55a91d34c 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html @@ -54,6 +54,7 @@ diff --git a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts index d9242bdf7b..9dda8f5fe8 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.ts @@ -226,11 +226,6 @@ export class AdminPageComponent implements OnInit { if (!this.dataSource) { this.initDataSource(); } - - // TODO: pass the row activate handler via the grid markup - this.grid.onRowActivate.subscribe( - (idlThing: IdlObject) => this.showEditDialog(idlThing) - ); } checkCreatePerms() {