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
705f5c59
Commit
705f5c59
authored
Apr 26, 2016
by
Rafael Ostertag
Browse files
Fixed file delete post parameters to be of type application/x-www-form-urlencoded
parent
8d75c779
Changes
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/FileDelete.js
View file @
705f5c59
...
...
@@ -44,7 +44,6 @@ var QfqNS = QfqNS || {};
url
:
this
.
targetUrl
,
type
:
'
POST
'
,
data
:
data
,
processData
:
false
,
cache
:
false
})
.
done
(
this
.
ajaxSuccessHandler
.
bind
(
this
,
event
.
target
))
...
...
@@ -58,9 +57,10 @@ var QfqNS = QfqNS || {};
var
fileDeleteName
=
htmlButton
.
getAttribute
(
'
name
'
);
var
data
=
new
FormData
();
data
.
append
(
'
s
'
,
this
.
sip
);
data
.
append
(
'
name
'
,
fileDeleteName
);
var
data
=
{
s
:
this
.
sip
,
name
:
fileDeleteName
};
return
data
;
};
...
...
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