From d953e28e23c7a94575656434e2e6e420c0f54e93 Mon Sep 17 00:00:00 2001 From: ksamuel Date: Sat, 15 Aug 2020 10:54:55 +0200 Subject: [PATCH] Fix delete error message and missing button --- zerobin/static/js/behavior.js | 2 +- zerobin/views/paste.tpl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zerobin/static/js/behavior.js b/zerobin/static/js/behavior.js index d833047..922f4c4 100644 --- a/zerobin/static/js/behavior.js +++ b/zerobin/static/js/behavior.js @@ -171,7 +171,7 @@ var app = new Vue({ }) }).then(function (response) { if (response.ok) { - app.forceLoad("/"); + window.location = "/"; } else { form.forEach(function (node) { node.disabled = false; diff --git a/zerobin/views/paste.tpl b/zerobin/views/paste.tpl index e2eb1c5..45ee3b9 100644 --- a/zerobin/views/paste.tpl +++ b/zerobin/views/paste.tpl @@ -21,7 +21,7 @@
-
+
+
@@ -138,7 +138,7 @@
-
+
Optional fields (those are not encrypted):