Project

General

Profile

Actions

Bug #23951

closed

Clearing input field using clear icon doesn't get saved.

Added by Peter Beernink over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When clearing a input field using the new clear icon, the field is emptied, but when saved, the old values are restored.
This because only the visible field is changed, not the actual field which is submitted.

It turns out that the onchange functionality gets changed after it is added to the clear icon.

Solution, move the assignment of the clear function a couple of lines down.

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.
(issue imported from #M16261)


Files

16261.diff (1.49 KB) 16261.diff Administrator Admin, 2010-11-05 12:15
Actions #1

Updated by Steffen Kamper over 13 years ago

committed to trunk rev 9297

Actions #2

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF