From 56163b124f7b2321b867324c68a7637d23ea8492 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 31 Jul 2019 14:56:43 -0400 Subject: [PATCH] LP1831788 dialog dismissal and i18n repairs Update sandbox dialog error handling to treat all error conditions as errors. Dialogs no longer produce an error on dismissal, they just complete the obvservable. Add i18n-placeholder attributes to some grid filter placeholder text. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton Signed-off-by: Jane Sandberg --- .../app/share/grid/grid-filter-control.component.html | 9 ++++++--- .../src/eg2/src/app/staff/sandbox/sandbox.component.ts | 10 ++++------ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html b/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html index 6367fb6e83..742cdca481 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html +++ b/Open-ILS/src/eg2/src/app/share/grid/grid-filter-control.component.html @@ -14,7 +14,8 @@ - +
@@ -67,7 +68,8 @@
- +
@@ -250,7 +252,8 @@
- +
I don't know how to filter {{col.name}} - {{col.datatype}}
diff --git a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts index 1d47a070db..163a1cb723 100644 --- a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.ts @@ -351,13 +351,11 @@ export class SandboxComponent implements OnInit { resolve(ok); }, rejection => { - if (!rejection.dismissed) { - this.updateFailedString.current() - .then(str => this.toast.danger(str)); - reject(rejection); - } + this.updateFailedString.current() + .then(str => this.toast.danger(str)); + reject(rejection); } - ) + ); }); } } -- 2.43.2