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

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, master has been updated
       via  c1edfced5c4cc8ec271f79f0d907de7b1a3dc832 (commit)
      from  8410fdace48ceb10f0cb9e84294d15a8f5adff9a (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 c1edfced5c4cc8ec271f79f0d907de7b1a3dc832
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