Download & Extend

Maintain form field focus through ahah action

Project:AHAH helper
Version:6.x-2.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Issue tags:ahah focus javascript patch

Issue Summary

Performing an ahah action steals focus. This can be especially confusing if you are navigating the form via keyboard. Ideally, focus would be restored after the action if possible.

I have attached a patch that I believe does this. I have tested it in IE, firefox (PC & MAC), Chrome & Safari.

AttachmentSize
focus.patch1.06 KB

Comments

#1

Version:6.x-1.0» 6.x-2.0
Status:active» needs review

I'll review this one soon.

#2

any progress on this?

Tried on Firefox 3.6.10 and working like charme

#3

Version:6.x-2.0» 6.x-2.2

the patch works, but throwns a "An HTTP error 0 occurred."

nobody click here