Patch #197
Preserve "name" attribute
| Status: | Closed | Start date: | 01.09.2010 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Browser: |
Description
The attribute name is very important and the actual code changes it to the value of Id.
Example a tag like:
<textarea id="Editor" name="userAddress" ></textarea>
generates a
<textarea id="Editor" name="Editor" ></textarea>
when you submit the form the server receve a new field (Editor) but not the expected userAdress
Now:
[...]
this.source.attr('name', this.target.attr('id')||this.target.attr('name'));
[...]
It's solved changing the line to :
[...]
this.source.attr('name', this.target.attr('name')||this.target.attr('id'));
[...]
Associated revisions
fixes #197
History
Updated by Troex Nevelin over 1 year ago
Thanks for the report, this already was discussed on Russian forum. Next version will include this fix.
Updated by Anonymous over 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 6bc301ddd2c0e24d6e8a27be979bd7c29e519e4f.