Actions
Bug #39048
closedTCEforms inline renders broken fields
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-07-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
When loading tt_content as an inline record WITHOUT using AJAX, some additional broken fields are rendered.
Specifically these are
<input type="checkbox" name="data[tt_content][10605][hidden]_0" value="1"/> <input type="input" name="data[tt_content][10605][hidden]" value="0"/>
These Fields are already rendered where they should be.
These fields are only used for tracking a record's hidden status if the record is rendered by an AJAX call and is not expanded.
If the record is loaded directly, it might not be expanded but is still completely rendered in the background making these fields unnecessary.
My patch includes an additional check whether the record is rendered by an AJAX call, thus fixing the problem.
Files
Actions