[open-ils-commits] [GIT] Evergreen ILS branch rel_3_4 updated. d377d9e3d96229de374f8066b99406cd01aa4ba5

Evergreen Git git at git.evergreen-ils.org
Fri Dec 27 10:33:07 EST 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_4 has been updated
       via  d377d9e3d96229de374f8066b99406cd01aa4ba5 (commit)
      from  4b7914768f3149249e1d86152c09df3c98a587dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d377d9e3d96229de374f8066b99406cd01aa4ba5
Author: Zavier Banks <zbanks at catalyte.io>
Date:   Tue Sep 17 20:59:15 2019 +0000

    lp1827942: prevent clicking outside an Angular modal from closing it
    
    I added a new property to the "options" object inside the "open"
    function, which resides in the dialog.component.ts. The static string
    inside the backdrop property makes the form stay, even if the backdrop
    is clicked.
    
    Signed-off-by: Zavier Banks <zbanks at catalyte.io>
    Signed-off-by: Jane Sandberg <sandbej at linnbenton.edu>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts b/Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts
index 7f5a91f40a..31fa2489f4 100644
--- a/Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts
+++ b/Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts
@@ -83,6 +83,7 @@ export class DialogComponent implements OnInit {
             this.finalize();
         }
 
+        options.backdrop="static";
         this.modalRef = this.modalService.open(this.dialogContent, options);
         DialogComponent.instances[this.identifier] = this;
 

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/eg2/src/app/share/dialog/dialog.component.ts | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list