mirror of
https://github.com/django/django.git
synced 2025-06-28 23:09:12 +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:
parent
4e78c1b389
commit
f99dd1d542
@ -27,7 +27,7 @@ def submit_row(context, bound_manipulator):
|
|||||||
change = context['change']
|
change = context['change']
|
||||||
is_popup = context['is_popup']
|
is_popup = context['is_popup']
|
||||||
return {
|
return {
|
||||||
'onclick_attrib': (opts.ordered_objects and change
|
'onclick_attrib': (opts.get_ordered_objects() and change
|
||||||
and 'onclick="submitOrderForm();"' or ''),
|
and 'onclick="submitOrderForm();"' or ''),
|
||||||
'show_delete_link': (not is_popup and context['has_delete_permission']
|
'show_delete_link': (not is_popup and context['has_delete_permission']
|
||||||
and (change or context['show_delete'])),
|
and (change or context['show_delete'])),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user