Django

Code

Changeset 8762

Show
Ignore:
Timestamp:
08/31/08 12:13:29 (4 months ago)
Author:
brosner
Message:

Fixed #8631 -- Corrected a display issue with the popup submit_row where the Save button would overflow. Thanks btaylordesign for report and initial patch.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/admin/templates/admin/submit_line.html

    r8501 r8762  
    11{% load i18n %} 
    2 <div class="submit-row"
     2<div class="submit-row" {% if is_popup %}style="overflow: auto;"{% endif %}
    33{% if show_save %}<input type="submit" value="{% trans 'Save' %}" class="default" name="_save" {{ onclick_attrib }}/>{% endif %} 
    44{% if show_delete_link %}<p class="float-left"><a href="delete/" class="deletelink">{% trans "Delete" %}</a></p>{% endif %} 
  • django/trunk/django/contrib/admin/templatetags/admin_modify.py

    r8421 r8762  
    3434                            not is_popup and (not save_as or context['add']), 
    3535        'show_save_and_continue': not is_popup and context['has_change_permission'], 
     36        'is_popup': is_popup, 
    3637        'show_save': True 
    3738    }