diff options
Diffstat (limited to 'ogcp/templates/images.html')
-rw-r--r-- | ogcp/templates/images.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html index 34d8a87..7a16a0d 100644 --- a/ogcp/templates/images.html +++ b/ogcp/templates/images.html @@ -15,7 +15,8 @@ document.addEventListener('readystatechange', () => { if (document.readyState === 'complete') { keepTreeState('#servers'); - checkImageServer(); + keepSelectedClients('images'); + checkOnChange('image-server'); } }); </script> @@ -45,7 +46,8 @@ <input class="form-check-input" type="checkbox" form="imagesForm" data-server="{{ server_str }}" value="{{ image["id"] }}" {% if image.get("selected", False) %}checked{% endif %} - name="{{ image["name"] }}_{{ image["id"] }}" /> + name="{{ image["name"] }}_{{ image["id"] }}" + id="image{{ image["id"] }}"/> {{ image["name"] }} </li> {% endfor %} |