mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-19 10:14:38 +00:00
LiveSync: Fix agent creation with unchanged form
The debug agent has no settings for example. data-disabled-until-change doesn't let you submit it until you change the default title which is a bit stupid.
This commit is contained in:
parent
bb4acd183a
commit
ea65a3d62c
@ -21,7 +21,7 @@
|
||||
{{ form_row(field) }}
|
||||
{% endfor %}
|
||||
{% call form_footer(form) %}
|
||||
<input class="i-button big highlight" type="submit" value="{% trans %}Save{% endtrans %}" data-disabled-until-change>
|
||||
<input class="i-button big highlight" type="submit" value="{% trans %}Save{% endtrans %}" {% if agent %}data-disabled-until-change{% endif %}>
|
||||
<a href="{{ url_for('plugins.details', plugin='livesync') }}" class="i-button big">{% trans %}Cancel{% endtrans %}</a>
|
||||
{% endcall %}
|
||||
{% endblock %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user