Restauration de la localisation des détails des contenus pour ckeditor (suite au...
[Plinn.git] / skins / content / plinn_folder_view.py
1 ##parameters=*arg, **kw
2 reqOther = context.REQUEST.other
3 if hasattr(context, 'index_html') :
4 homePath = context.index_html.getPhysicalPath()
5 folderPath = context.getPhysicalPath()
6 if len(homePath) == len(folderPath) + 1 and homePath[:-1] == folderPath:
7 reqOther['forceTab'] = 'view'
8 return context.index_html(*arg, **kw)
9
10 reqOther['forceTab'] = 'folderContents'
11 return context.folder_contents(*arg, **kw)