Ménage.
[Plinn.git] / Products / Plinn / skins / generic / manage_boxes.py
1 ##parameters=exitMode=False
2 sd = context.session_data_manager.getSessionData(create=1)
3 if exitMode :
4 if sd.has_key('editBoxes') : del sd['editBoxes']
5 if sd.has_key('ajaxConfig') : del sd['ajaxConfig']
6 else :
7 sd['editBoxes'] = 1
8 sd['ajaxConfig'] = 0
9 return context.portal_url.getPortalObject().index_html()