4dd7f798e0669200db46297286716f447b7dd6a5
1 ##parameters=uid,ajax=''
3 sd
= context
.session_data_manager
.getSessionData(create
= 1)
4 lightboxpath
= sd
.get('lightboxpath', None)
5 if lightboxpath
is not None and lightboxpath
== context
.getPhysicalPath() :
6 selection
= sd
.get('objects_selection', [])
7 selDict
= sd
.get('objects_selection_dict', {})
8 if selDict
.has_key(uid
) :
11 sd
['objects_selection'] = selection
12 sd
['objects_selection_dict'] = selDict
16 return context
.setRedirect(context
, 'object/view', ajax
=ajax
)