From 73b9cf8d71e4c5c46346d3e8c507edb750ba161d Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sat, 21 Nov 2020 14:23:35 +0100 Subject: [PATCH] Fix delete library modal closing immediately The delete library button was not only opening the confirmation modal but also submitted the edit library form, causing the modal to close again. Fixes #1272 --- changes/changelog.d/1272.bugfix | 1 + front/src/views/content/libraries/Form.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/1272.bugfix diff --git a/changes/changelog.d/1272.bugfix b/changes/changelog.d/1272.bugfix new file mode 100644 index 000000000..67b8353f6 --- /dev/null +++ b/changes/changelog.d/1272.bugfix @@ -0,0 +1 @@ +Fix delete library modal closing immediately (#1272) \ No newline at end of file diff --git a/front/src/views/content/libraries/Form.vue b/front/src/views/content/libraries/Form.vue index 0dafdf155..dd8e64216 100644 --- a/front/src/views/content/libraries/Form.vue +++ b/front/src/views/content/libraries/Form.vue @@ -26,7 +26,7 @@ Update library Create library - + Delete

Delete this library?