[open-ils-commits] [GIT] Evergreen ILS branch master updated. 92a6deff0e68152aca2fba917fb91767708b8445

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, master has been updated
       via  92a6deff0e68152aca2fba917fb91767708b8445 (commit)
      from  29d5c4e35c1a09e20c0db114c9ad5d18b9c9aae7 (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 92a6deff0e68152aca2fba917fb91767708b8445
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 cafbbcfe60..27b611fb2f 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