projects
/
Plinn.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ajout fonction utilitaire pour encoder de manière sécurisé les en-tête des mails.
[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
)