1
0
mirror of https://github.com/django/django.git synced 2025-06-08 13:09:13 +00:00

magic-removal: Fixed bug in [2085]

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-01-21 04:34:36 +00:00
parent 4e78c1b389
commit f99dd1d542

View File

@ -27,7 +27,7 @@ def submit_row(context, bound_manipulator):
change = context['change']
is_popup = context['is_popup']
return {
'onclick_attrib': (opts.ordered_objects and change
'onclick_attrib': (opts.get_ordered_objects() and change
and 'onclick="submitOrderForm();"' or ''),
'show_delete_link': (not is_popup and context['has_delete_permission']
and (change or context['show_delete'])),