Bug #22395
closedMain module does not load different navFrames in submodules in dependency of navFrameScriptParam
0%
Description
DAM module file has the configuration $MCONF['navFrameScriptParam']='&folderOnly=1' , but the list module not.
If you switch between these modules, the nav frame isn't reloaded.
related to #20773
(issue imported from #M14026)
Files
Updated by Dmitry Dulepov over 14 years ago
Generic solution is not possible. There are two use cases here:
1. Navigation frame must be reloaded (DAM case, #8695)
2. Navigation frame must not be reloaded (all standard Web & File modules)
If the navigation is reloaded in standard modules, the tree will lose its selection + it will be unnecessary extra requests + slower than it is now. Thus every module should indicate if it needs to reload navigation frame. Currently it is possible by specifying 'navFrameScript' in $MCONF. See also #14207.
Updated by Dmitry Dulepov over 14 years ago
In addition to my previous note: navFrameScriptParam is not currently passed to module list generation script in the core. Probably this is a cause of this bug. I'll see how we can change it. Currently the solution is to include parameters to navFrameScript and make navFrameScript unique if you want to reload the tree.