[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. e1f78c6a287bc8279f5d0427552e899fe2786a21

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_3 has been updated
       via  e1f78c6a287bc8279f5d0427552e899fe2786a21 (commit)
      from  1a1b166b45a175836882a7463313a9507d676fc5 (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 e1f78c6a287bc8279f5d0427552e899fe2786a21
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