Bug #23580
closed
Icon for hidden field doesn't work with IRRE
Added by Guido S. about 14 years ago.
Updated about 7 years ago.
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
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.
example work around (t3lib/jsfunc.inline.js) for complaining editors.
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.
- Target version changed from 0 to 4.5.6
This error persists even in TYPO3 4.5.5.
- Target version changed from 4.5.6 to 4.5.8
- Target version changed from 4.5.8 to 4.5.12
- Status changed from New to Resolved
This seems to be fixed in 4.7 and 4.5.
- Status changed from Resolved to Closed
Also available in: Atom
PDF