From 11f83771beafd33e5c7dad7d8d943a8306d1aac2 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Wed, 22 Jul 2020 10:25:39 +0200 Subject: fix dirty form detection --- accounts/templates/accounts/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'accounts') diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index 2733050..48d5bc8 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -51,7 +51,7 @@ {% endblock%} {% block content %} -
+
@@ -127,7 +127,7 @@
@@ -325,8 +325,8 @@ {% block script %} function send(id) { - $('#form').trigger('reinitialize.areYouSure'); - var form = document.getElementById('form'); + $('#form1').trigger('reinitialize.areYouSure'); + var form = document.getElementById('form1'); var action = document.getElementById('action'); action.setAttribute('value', id); form.submit(); -- cgit v1.2.1