Fix 2 issues: grid not updating when a new record is created and
double clicking a row doesn't edit it
Signed-off-by: Mike Risher <mrisher@catalyte.io>
Changes to be committed:
modified: Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.html
modified: Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.ts
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<eg-staff-banner bannerText="Standing Penalty Types" i18n-bannerText>
</eg-staff-banner>
+<eg-string #createString i18n-text text="New Standing Penalty Added"></eg-string>
+<eg-string #createErrString i18n-text text="Failed to Create New Standing Penalty"></eg-string>
<eg-string #successString i18n-text text="Standing Penalty Update Succeeded"></eg-string>
+<eg-string #updateFailedString i18n-text text="Standing Penalty Update Failed"></eg-string>
<eg-string #deleteFailedString i18n-text text="Delete of Standing Penalty failed or was not allowed"></eg-string>
<eg-string #deleteSuccessString i18n-text text="Delete of Standing Penalty succeeded"></eg-string>
<eg-string #cspFlairTooltip i18n-text text="Limited Editing"></eg-string>
);
};
+ this.grid.onRowActivate.subscribe(
+ (idlThing: IdlObject) => this.showEditDialog(idlThing)
+ );
+
}
cspReadonlyOverride = (field: string, csp: IdlObject): boolean => {