diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-05-10 12:39:11 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-05-10 16:21:21 +0200 |
commit | a04ef4e421ec29a3fb2f8181b5c7af381767001c (patch) | |
tree | f97291fce53c2f1e440d0db1ec36f3a24eca1ae0 /ogcp/templates | |
parent | 0ba0b933e2483434fab77c8130960af3901a6190 (diff) |
js: fix id update in partition form deletion
Update all the name and id fields of the elements in the partition
form after a delete operation.
Inconsistent ids make form.validate() to always return False, this
causes all the form validation code to be skipped.
Diffstat (limited to 'ogcp/templates')
-rw-r--r-- | ogcp/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 9cb004b..9ade1d2 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ <!-- ChartJS --> <script src="{{ url_for('static', filename='AdminLTE/plugins/chart.js/Chart.min.js') }}"></script> - <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=1"></script> + <script src="{{ url_for('static', filename='js/ogcp.js') }}?v=2"></script> <script> // error messages |