diff options
author | Daniel García Moreno <danigm@soleta.eu> | 2021-08-04 18:50:26 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-08-23 17:16:04 +0200 |
commit | 0bbae508f60b86cb77c3f05e43d4e86bb5d2980d (patch) | |
tree | 28b392172b8c73f4cdd63bfd6be83c9c2c55e9c8 /ogcp/static/AdminLTE/dist/img/photo2.png | |
parent | a51fdd9d30bbd257a00f7f9e167babbfbd8669ed (diff) |
Fix setup form javascript
This patch fixes the javascript that adds/removes rows from the setup
form.
The AddPartition function now replaces the id `partitions-N-FIELDNAME`
using a regular expression. The hidden csrf input is also ignored to get
incremental numbers.
On deletion, all the ids are reassign from zero, in order, to get always
an ordered list with all numbers between the first and the last.
Diffstat (limited to 'ogcp/static/AdminLTE/dist/img/photo2.png')
0 files changed, 0 insertions, 0 deletions