From 7e73c53f3eeb6a2c74c80ee9a00648f8cc4e9ab3 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Tue, 4 Jan 2022 12:43:11 +0100 Subject: fix disabled fields not submitting --- accounts/templates/accounts/index.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'accounts/templates') diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html index 4133270..341fd7d 100644 --- a/accounts/templates/accounts/index.html +++ b/accounts/templates/accounts/index.html @@ -366,6 +366,9 @@ function send(id) { var form = document.getElementById('form1'); var action = document.getElementById('action'); action.setAttribute('value', id); + $(':disabled').each(function(e) { + $(this).removeAttr('disabled'); + }) form.submit(); } -- cgit v1.2.1