summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/images.html
diff options
context:
space:
mode:
authorDaniel García Moreno <danigm@soleta.eu>2021-08-04 18:50:26 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2021-08-23 17:16:04 +0200
commit0bbae508f60b86cb77c3f05e43d4e86bb5d2980d (patch)
tree28b392172b8c73f4cdd63bfd6be83c9c2c55e9c8 /ogcp/templates/images.html
parenta51fdd9d30bbd257a00f7f9e167babbfbd8669ed (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/templates/images.html')
0 files changed, 0 insertions, 0 deletions