Patch #197

Preserve "name" attribute

Added by Antonio Cortes over 1 year ago. Updated over 1 year ago.

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

Revision 6bc301dd
Added by Dmitry Levashov over 1 year ago

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

Also available in: Atom PDF