chmod -x
[Plinn.git] / skins / control / remove_object.py
1 ##parameters=ajax=''
2 parent = context.aq_parent
3 parent.manage_delObjects(context.id)
4
5 context.getOrSetSessionVar('slink_mode', 'view')
6 context.setStatus(True, 'Object deleted.')
7 return context.setRedirect(parent, 'object/view', ajax=ajax)