Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
3fdaf275
Commit
3fdaf275
authored
May 31, 2018
by
bbaer
Browse files
Added check for data.redirect === close
parent
bbc764ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/QfqForm.js
View file @
3fdaf275
...
...
@@ -988,13 +988,18 @@ var QfqNS = QfqNS || {};
return
;
}
if
(
data
.
redirect
===
"
close
"
)
{
this
.
goBack
();
return
;
}
break
;
case
'
close
'
:
if
(
!
data
.
redirect
||
data
.
redirect
===
"
no
"
)
{
return
;
}
if
(
data
.
redirect
===
"
client
"
)
{
if
(
data
.
redirect
===
"
client
"
||
data
.
redirect
===
"
close
"
)
{
this
.
goBack
();
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment