Bug Tracker

Opened 12 years ago

Last modified 12 years ago

#3154 closed bug

field name "split" breaks add(form.elements) — at Version 1

Reported by: joern Owned by: flesler
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by joern)

A validation plugin user reported that giving a field the name-attribute "split" breaks the validation. Eventually I found out that this causes $([]).add(form.elements) to return a nested array (instead of just a flat one), eg.

[[input]] instead of [input]

(think array == jQuery object)

I have no idea whats causing that. A patch with a testcase is attached.

Change History (2)

Changed 12 years ago by joern

comment:1 Changed 12 years ago by joern

Description: modified (diff)
Note: See TracTickets for help on using tickets.