We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e51bf7a commit b4fa402Copy full SHA for b4fa402
flask_fastspring.py
@@ -260,8 +260,10 @@ def milliseconds_to_datetime(m):
260
window.onbeforeunload = function() {};
261
window.location.replace("{{ request.url }}");
262
} else if (xhr.status === 201 || (301 <= xhr.status && xhr.status <= 303)) {
263
+ window.onbeforeunload = function() {};
264
window.location.replace(xhr.getResponseHeader("Location"));
265
} else {
266
267
var message = "ERROR: Could not process order: " + data["reference"];
268
console.log(message);
269
alert(message);
0 commit comments