Skip to content
Snippets Groups Projects
Commit 0b99ba7d authored by Philipp Gröbelbauer's avatar Philipp Gröbelbauer
Browse files

fixed redirect after wiki content save

parent 32cb092e
No related branches found
No related tags found
2 merge requests!691New version v24.3.0,!673fixed redirect after wiki content save
Pipeline #11964 passed
......@@ -17,7 +17,7 @@
"multiDetailForm": "",
"multiDetailFormParameter": "",
"forwardMode": "url-sip",
"forwardPage": "url-sip|{{pageSlug:T}}&wpId={{id:R0}}&action={{action:SE}}&wpIdPrevious={{wpIdPrevious:S0}}&sectionId={{sectionId:S0}}&sectionIdEnd={{sectionIdEnd:S0}}&headingTitle={{headingTitle:SE}}",
"forwardPage": "{{baseUrlLang:Y}}{{pageSlug:T}}?wpId={{id:R0}}&action={{action:SE}}&wpIdPrevious={{wpIdPrevious:S0}}&sectionId={{sectionId:S0}}&sectionIdEnd={{sectionIdEnd:S0}}&headingTitle={{headingTitle:SE}}",
"labelAlign": "default",
"bsLabelColumns": "",
"bsInputColumns": "",
......
......@@ -105,7 +105,7 @@ form={{form:SE}}
# Sneaky reload of the page to remove SIP-URL after redirect from form
130 {
sql = SELECT '<script>window.location.href="{{pageSlug:T}}?wpId={{wpId:RE}}#{{headingTitle:RE}}";</script>'
sql = SELECT '<script>window.location.href="{{baseUrlLang:Y}}{{pageSlug:T}}?wpId={{wpId:RE}}#{{headingTitle:RE}}";</script>'
FROM DUAL
WHERE '{{action:RE}}' != ''
}
......
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