bab97eb93c4a86c413126101793175db185771ac
[Plinn.git] / 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()