fixed error by activating a message, if it was only on a specific slide.

This commit is contained in:
Oskar Hahn 2012-06-03 09:05:12 +02:00
parent 7e7ab210ab
commit 79893687f3

View File

@ -194,7 +194,7 @@
<ul>
{% for overlay in overlays %}
<li>
<input type="checkbox" name="{{ overlay }}" onchange="submit()"
<input type="checkbox" name="{{ overlay.def_name }}" onchange="submit()"
{% if overlay.active %} checked="checked"{% endif %}> {{ overlay }}:
{# Countdown #}
{% if overlay.def_name == "Countdown" %}
@ -221,9 +221,7 @@
<p></p>
{% endif %}
{% if overlay.def_name == "Message" %}
<form action="" method="post">{% csrf_token %}
<br>
<nobr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<nobr>
<input name='message_text' type='text' style='width: 70%'
value="{% get_config 'projector_message' %}">
<button type="submit"
@ -235,7 +233,6 @@
<button type="submit" class="button" name='message'>
<span class="icon ok">{% trans 'Apply' %}</span>
</button>
</form>
{% endif %}
</li>
{% endfor %}