projects
/
Plinn.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bugfix : on vérifie que le parent implémente bien l'interface d'ordonancement.
[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
)