[TYPO3-core] RFC: Bug #16261: Clearing input field using clear icon doesn't get saved.

Peter Beernink p.beernink at drecomm.nl
Fri Nov 5 12:28:14 CET 2010


Hi,

This is a SVN patch request

Type: Bugfix

Bugtracker reference: http://bugs.typo3.org/view.php?id=16261

Branches: trunk

Problem:
When clearing a input field using the clear icon. The field is emptied, but
not saved. This because only the _hr field is changed as the onchange
functionality is not generated completely.

Solution:
Move the assignment of the clear function a couple lines down, so the
complete onchange is generated.

How to reproduce:
- Create a tt_content record and enter something in the header.
- Save the record and edit again.
- Clear the header using the clear icon.
- Save record again.
Without the patch the old value is restored.

Regards,
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16261.diff
Type: application/octet-stream
Size: 1525 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101105/17dc5a55/attachment.obj>


More information about the TYPO3-team-core mailing list