From: Kyle Huckins Date: Wed, 11 Dec 2019 22:44:33 +0000 (+0000) Subject: LP1838341: Double-Click Setting to open Edit Dialog X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=942d3c928114cb6edf6dd319d6759b6ffa1d0d27;p=evergreen%2Fpines.git 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 --- 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 {