# HG changeset patch # User Nicholas Jillings # Date 1515763138 0 # Node ID 6cfb6c49c331c6f89111a12a05d5254e84c4283e # Parent 6e51b9734eab30676daec8af6c333a4d4e534d33 #262 Better catcher for returnURL undefined in SessionKey diff -r 6e51b9734eab -r 6cfb6c49c331 js/core.js --- a/js/core.js Fri Jan 12 13:17:09 2018 +0000 +++ b/js/core.js Fri Jan 12 13:18:58 2018 +0000 @@ -3650,6 +3650,11 @@ }; this.SessionKey = (function (parent) { + var returnURL = ""; + if (window.returnURL !== undefined) { + returnURL = String(window.returnURL); + } + function postUpdate() { // Return a new promise. var hold = document.createElement("div");