#16669GMENU_LAYERS: Menu items without Submenus are not reset after RO
Description
On a page with a GMENU_LAYERS (TMENU used for the second level), GMENU elements which have no submenus are not switched back to the original state after a RO.
I solved this issue “quick & dirty” for a specific project:
1. the used double quotes in tslib\media\scripts\gmenu_layers.php (function extProc_beforeLinking) are converted to " – this might be a problem (did not check this, because changing them to single quotes did not solve the problem)
2. the GL_resetAll function used for onmouseout does not restore the original state; quick fix was to add ‘GL’.$this->WMid.’_out(\’\’);’ to the JS onmouseout.
(issue imported from #M4434)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.