changeset 220:5d15a86bad26

fix
author amazy
date Tue, 03 Sep 2019 12:17:27 +0200
parents 0f042939410d
children 3aae28985514
files Resources/OrthancExplorer.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/OrthancExplorer.js	Tue Sep 03 10:56:08 2019 +0200
+++ b/Resources/OrthancExplorer.js	Tue Sep 03 12:17:27 2019 +0200
@@ -14,7 +14,7 @@
       var urlSearchParams = {
         "series" : $.mobile.pageData.uuid
       };
-      if (authorizationTokens !== undefined) {
+      if ("authorizationTokens" in window) {
         for (var token in authorizationTokens) {
           urlSearchParams[token] = authorizationTokens[token];
         }