From b66e124983894be2d5d5c32529831e5749d34843 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 1 Sep 2021 09:55:53 -0700 Subject: [PATCH] Fix for #3087, server backup and restore with key in URL. --- views/default.handlebars | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index 7e38ff56..c68dc833 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -517,7 +517,7 @@

Server actions

- + @@ -1597,6 +1597,9 @@ // Make the dialog box movable dialogBoxDrag(); + + // Fix links + if (urlargs.key) { Q('p6backuplink').href += '?key=' + urlargs.key; } } function refreshCookieSession() { @@ -11108,7 +11111,7 @@ function server_showRestoreDlg() { if (xxdialogMode) return false; var x = "Restore the server using a backup, this will delete the existing server data. Only do this if you know what you are doing." + '

'; - x += '
'; + x += '
'; x += ''; x += '

'; x += '';