[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 4ffc5d353269f5930951fec19997b25ebcad82a1

Evergreen Git git at git.evergreen-ils.org
Tue Feb 6 15:05:01 EST 2018


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_0 has been updated
       via  4ffc5d353269f5930951fec19997b25ebcad82a1 (commit)
      from  389f8af52cf6ab2c4c21e1f6b60d92e56523f84e (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 4ffc5d353269f5930951fec19997b25ebcad82a1
Author: Kathy Lussier <klussier at masslnc.org>
Date:   Tue Feb 6 12:41:19 2018 -0500

    LP#1746020 Fix Safari/iOS login issue
    
    Works around an issue where users cannot log into the web client using iOS
    because Safari, which all browsers running on iOS use to some extent, does not
    support BroadcastChannel.
    
    Many thanks to Galen Charlton for providing a diff with this solution!
    
    Signed-off-by: Kathy Lussier <klussier at masslnc.org>
    Signed-off-by: Jason Boyer <jboyer at library.in.gov>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/web/js/ui/default/staff/services/auth.js b/Open-ILS/web/js/ui/default/staff/services/auth.js
index ec83005..b93b6b8 100644
--- a/Open-ILS/web/js/ui/default/staff/services/auth.js
+++ b/Open-ILS/web/js/ui/default/staff/services/auth.js
@@ -312,7 +312,7 @@ function($q , $timeout , $rootScope , $window , $location , egNet , egHatch) {
 
     service.logout = function(broadcast) {
 
-        if (broadcast) {
+        if (broadcast && service.authChannel.postMessage) {
             // Tell the other tabs to shut it all down.
             service.authChannel.postMessage({action : 'logout'});
         }

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

Summary of changes:
 Open-ILS/web/js/ui/default/staff/services/auth.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list