Bug #23580
closedIcon for hidden field doesn't work with IRRE
0%
Description
Since TYPO3 4.4 we cannot deactivate IRRE elements over the standard icon. If we click on the icon we get following error message:
path is undefined
[Break on this error] var backSlash = path.lastIndexOf('\\');
Problem exist in typo3temp/compressor/jsfunc.inline....js
(issue imported from #M15764)
Files
Updated by Guido S. about 14 years ago
Problem is in t3lib/jsfunc.inline.js in function enableDisableRecord (line 674)
He is try to change an image, but the new concept works only with css classes. It must change the css class in the choosen span.
Updated by sweiler no-lastname-given about 14 years ago
example work around (t3lib/jsfunc.inline.js) for complaining editors.
Updated by Andreas Kießling about 14 years ago
The patch will only work, if the element is expanded.
Since the irre element is loaded on demand, there is a good chance, that clicking on the icon just does nothing.
If i have to expand the record, than i can just use the checkbox there.
Workaround for me:
'appearance' => array(
'enabledControls' => array(
'hide' => FALSE,
),
),
What would probably work: insert an input type hidden as a placeholder to receive the hide/show action.
When the element is loaded, that placeholder could be removed and the "regular behaviour" can be executed.
Updated by Felix Nagel about 13 years ago
- Target version changed from 0 to 4.5.6
This error persists even in TYPO3 4.5.5.
Updated by Chris topher about 13 years ago
- Target version changed from 4.5.6 to 4.5.8
Updated by Ernesto Baschny almost 13 years ago
- Target version changed from 4.5.8 to 4.5.12
Updated by Andreas Wolf about 12 years ago
- Status changed from New to Resolved
This seems to be fixed in 4.7 and 4.5.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed