Author: jezdez Date: 2010-05-04 17:13:14 -0500 (Tue, 04 May 2010) New Revision: 13099
Modified: django/trunk/django/contrib/admin/templates/admin/actions.html Log: Fixed #13472 - Fixed minor regression in admin actions template introduced in r12968. Thanks for the report, Carl Meyer. Modified: django/trunk/django/contrib/admin/templates/admin/actions.html =================================================================== --- django/trunk/django/contrib/admin/templates/admin/actions.html 2010-05-04 21:49:27 UTC (rev 13098) +++ django/trunk/django/contrib/admin/templates/admin/actions.html 2010-05-04 22:13:14 UTC (rev 13099) @@ -3,7 +3,7 @@ {% for field in action_form %}{% if field.label %}<label>{{ field.label }} {% endif %}{{ field }}{% if field.label %}</label>{% endif %}{% endfor %} <button type="submit" class="button" title="{% trans "Run the selected action" %}" name="index" value="{{ action_index|default:0 }}">{% trans "Go" %}</button> {% if actions_selection_counter %} - <script type="text/javascript">var _actions_icnt={{ cl.result_count|default_if_none:"0" }};</script> + <script type="text/javascript">var _actions_icnt="{{ cl.result_list|length|default:"0" }}";</script> <span class="action-counter">{{ selection_note }}</span> {% if cl.result_count != cl.result_list|length %} <span class="all">{{ selection_note_all }}</span> -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.