Skip to content
Snippets Groups Projects
Commit a1ba22b4 authored by Clemens Klein-Robbenhaar's avatar Clemens Klein-Robbenhaar
Browse files

XWIKI-16063: do not use edit templates except for edit view

- add comment what happens here
parent 603797e7
No related branches found
No related tags found
No related merge requests found
...@@ -4,10 +4,12 @@ ...@@ -4,10 +4,12 @@
### General wrapper for edit actions ### General wrapper for edit actions
### ###
## ##
## Check if actually in edit action
## ##
#if($xcontext.getAction() != 'edit' && $xcontext.getAction() != 'inline') #if($xcontext.getAction() != 'edit' && $xcontext.getAction() != 'inline')
$response.sendRedirect($doc.getURL('edit', "editor=$!{request.getParameter('editor')}")) $response.sendRedirect($doc.getURL('edit', "editor=$!{request.getParameter('editor')}"))
#end #end
##
## Check if edit is forced ## Check if edit is forced
## ##
#set ($session = $request.session) #set ($session = $request.session)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment