aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
Diffstat (limited to 'server/templates')
-rw-r--r--server/templates/server/approve_doc_direct.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/templates/server/approve_doc_direct.html b/server/templates/server/approve_doc_direct.html
index a435b5f..7327b2f 100644
--- a/server/templates/server/approve_doc_direct.html
+++ b/server/templates/server/approve_doc_direct.html
@@ -108,8 +108,8 @@ function send() {
{% if error %}
function loadCode(code) {
if (code.substring(0, 4) == 'http') {
- window.location.replace(code);
- return;
+ code = code.substring(code.length - 6);
+ console.log(code);
}
var currentUrl = window.location.href;