Skip to content
GitLab
Menu
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
82ca94f7
Commit
82ca94f7
authored
Jun 11, 2018
by
bbaer
Browse files
client now knows redirect "auto"
parent
df51be1a
Changes
1
Show whitespace changes
Inline
Side-by-side
javascript/src/QfqForm.js
View file @
82ca94f7
...
...
@@ -727,7 +727,7 @@ var QfqNS = QfqNS || {};
this
.
setButtonEnabled
(
this
.
getNewButton
(),
false
);
this
.
destroyFormAndSetText
(
"
Record has been deleted!
"
);
if
(
!
data
.
redirect
||
data
.
redirect
===
"
client
"
)
{
if
(
!
data
.
redirect
||
data
.
redirect
===
"
auto
"
)
{
this
.
goBack
();
return
;
}
...
...
@@ -999,7 +999,7 @@ var QfqNS = QfqNS || {};
return
;
}
if
(
data
.
redirect
===
"
client
"
||
data
.
redirect
===
"
close
"
)
{
if
(
data
.
redirect
===
"
auto
"
||
data
.
redirect
===
"
close
"
)
{
this
.
goBack
();
return
;
}
...
...
@@ -1022,7 +1022,7 @@ var QfqNS = QfqNS || {};
return
;
default
:
if
(
data
.
redirect
===
"
client
"
)
{
if
(
data
.
redirect
===
"
auto
"
)
{
this
.
goBack
();
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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