Added JS confirmation for deleting wiki pages.
Documented need for JS confirmation and escaping template variables to the gotchas file.
This commit is contained in:
parent
e5ea16e1d2
commit
824b7a4545
6 changed files with 45 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ sub getEditForm {
|
|||
formFooter => WebGUI::Form::formFooter($session),
|
||||
isNew => ($self->getId eq "new"),
|
||||
canAdminister => $wiki->canAdminister,
|
||||
deleteConfirm => $i18n->get("delete page confirmation"),
|
||||
deleteLabel => $i18n->get("deleteLabel"),
|
||||
deleteUrl => $self->getUrl("func=delete"),
|
||||
titleLabel => $i18n->get("titleLabel"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue