Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7595 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

[PATCH][TEST] findFirstElement takes tabindex's into account

Reported by: tdd Assigned to: sam
Priority: normal Milestone: 1.x
Component: Prototype Version: edge
Severity: normal Keywords: ready 1.5.2
Cc:

Description

As per a discussion on Rails-Spinoffs, here's a tabindex-aware version of findFirstElement, with tests. If any of the non-hidden-type, non-disabled elements in the form has a tabindex attribute, the one with the lowest value is used. Otherwise, we revert to the usual algorithm.

Attachments

form_findFirstElement.diff (2.5 kB) - added by tdd on 02/19/07 22:31:57.

Change History

02/19/07 22:31:57 changed by tdd

  • attachment form_findFirstElement.diff added.

02/19/07 22:36:29 changed by tdd

  • type changed from defect to enhancement.

03/27/07 18:36:57 changed by madrobby

  • keywords changed from ready to ready 1.5.2.

04/29/07 09:17:35 changed by mislav

(In [6628]) Prototype: Form.findFirstElement respects tabindexes; references #7595

06/27/07 10:38:57 changed by madrobby

  • status changed from new to closed.
  • resolution set to fixed.

(In [7140]) Prototype: merges from form branch. Closes #5031, #5902, #7595, #8401, #8483, #8767. [Mislav Marohni?\196?\135, Tomas, Christophe Porteneuve, Jonathan Viney]