comparison js/core.js @ 2940:8805556c0f42

Potential fix for #235
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 14 Sep 2017 13:10:51 +0100
parents 5d7e33fd00d8
children 8c7d5ee1b906 cacc7f1cf062
comparison
equal deleted inserted replaced
2939:5d7e33fd00d8 2940:8805556c0f42
3589 if (typeof specification.projectReturn == "string") { 3589 if (typeof specification.projectReturn == "string") {
3590 if (specification.projectReturn.substr(0, 4) == "http") { 3590 if (specification.projectReturn.substr(0, 4) == "http") {
3591 returnURL = specification.projectReturn; 3591 returnURL = specification.projectReturn;
3592 } 3592 }
3593 } 3593 }
3594 this.request.open("GET", returnURL + "php/requestKey.php", true); 3594 this.request.open("GET", returnURL + "php/requestKey.php?saveFilenamePrefix=" + this.parent.filenamePrefix, true);
3595 this.request.addEventListener("load", this); 3595 this.request.addEventListener("load", this);
3596 this.request.send(); 3596 this.request.send();
3597 }, 3597 },
3598 update: function () { 3598 update: function () {
3599 if (this.key === null) { 3599 if (this.key === null) {