mirror of https://git.48k.eu/ogcp
Submit IPs when scopes tree is read only
Otherwise, users can not switch between actions without going back to
the parent view.
This makes "scopesForm" work again in all views and not only in
scopes.html and commands.html.
Commit feed135554
introduces this regression.
multi-ogserver
parent
02836444a9
commit
a2a5e4ed78
|
@ -24,7 +24,8 @@
|
|||
<li id="{{ scope["name"]|replace(".", "_")|replace(" ", "_") }}_{{ scope["id"] }}" class="nav-item">
|
||||
{% if " ".join(scope["ip"]) %}
|
||||
<input class="form-check-input" type="checkbox" form="scopesForm"
|
||||
value="{{ " ".join(scope["ip"]) }}" {{ state }}
|
||||
value="{{ " ".join(scope["ip"]) }}"
|
||||
{% if state %}style="filter: grayscale(100%);" onclick="return false;"{% endif %}
|
||||
{% if scope.get("selected", False) %}checked{% endif %}
|
||||
name="{{ scope["name"] }}_{{ scope["id"] }}" />
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue