#8194: Admin form keyboard focus does not respect fields or fieldsets options
--------------------------------------+-------------------------------------
Reporter: mdhancher | Owner: nobody
Status: reopened | Milestone: 1.0
Component: Admin interface | Version: SVN
Resolution: | Keywords: newforms-admin
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
--------------------------------------+-------------------------------------
Changes (by fredbartle):
* status: closed => reopened
* needs_better_patch: 0 => 1
* resolution: fixed =>
Comment:
I'm reopening because forms.BoundField is not accessible for this patch to
work. As of r8681, if admin fields or fieldsets are specified, the
following html is created from the template:
{{{
<script
type="text/javascript">document.getElementById("").focus();</script>
}}}
Using a try/except block around L25 in django/contrib/admin/helpers.py
shows an AttributeError being raised.
{{{
'module' object has no attribute 'BoundField'
}}}
Just a side question here, I'm listed under AUTHORS as 'hambaloney' for
another ticket I was involved with, is it possible to change that to my
name?
--
Ticket URL: <http://code.djangoproject.com/ticket/8194#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---