Bug #17594
closedbrowse_links and other popups don't work, when in Admin Panel "Editforms on-page" is checked
0%
Description
If you use Frontend Editing and you check "Editforms on-page:" in the Admin Panel you won't be able to use several modules like the browse_links, acronym, user elements.
The reason is, that in tx_rtehtmlarea_base->loadJScode() the following condition has been added: is_object($TSFE). Thus the javascript-class-params (RTEtsConfigParams, pathAcronymModule, pathLinkModule, ..) are not set, as the needed javascript ist not included, if an object $TSFE is found.
$TSFE is not there, when using the popup for editing, but it is there, when editing inside the page with the above mentioned option.
In the patch I removed that condition, but as it was added in 4.1 and I don't know the reason for that, there might be some problems again at other places, that I didn't realise...
(issue imported from #M6326)
Files
Updated by Stanislas Rolland over 16 years ago
In class.tx_rtehtmlarea_base.php all tests coded as
is_object($TSFE)
should be replaced by
is_object($TSFE) && !strstr($this->elementId,'TSFE_EDIT')