From 942d3c928114cb6edf6dd319d6759b6ffa1d0d27 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Wed, 11 Dec 2019 22:44:33 +0000 Subject: [PATCH] LP1838341: Double-Click Setting to open Edit Dialog - Add an OnRowActivate to allow the Edit Dialog to open when double-clicking a row on the Org Unit Settings Grid. Signed-off-by: Kyle Huckins Changes to be committed: modified: Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts Signed-off-by: Jane Sandberg Signed-off-by: Bill Erickson Signed-off-by: Terran McCanna Signed-off-by: Jane Sandberg --- .../staff/admin/local/org-unit-settings/org-unit-settings.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts index 5d4dd80653..60451eda4b 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts @@ -95,6 +95,9 @@ export class OrgUnitSettingsComponent { this.gridDataSource.getRows = (pager: Pager, sort: any[]) => { return this.fetchSettingTypes(pager); }; + this.orgUnitSettingsGrid.onRowActivate.subscribe((setting:OrgUnitSetting) => { + this.showEditSettingValueDialog(setting); + }); } fetchSettingTypes(pager: Pager): Observable { -- 2.11.0