From: Bill Erickson Date: Wed, 31 Jul 2019 18:56:43 +0000 (-0400) Subject: LP1831788 dialog dismissal and i18n repairs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=56163b124f7b2321b867324c68a7637d23ea8492;p=contrib%2FConifer.git 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 --- 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); } - ) + ); }); } }