Skip to content

Commit

Permalink
Merge pull request #694 from tonivdv/revert_fix_link
Browse files Browse the repository at this point in the history
revert fix "LINK workaround for firefox"
  • Loading branch information
willdurand committed Oct 23, 2015
2 parents 57b9aa6 + d60da7a commit 7f5f8bd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Resources/views/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,6 @@
// retrieve the additional headers to send
$('.headers .tuple', $(this)).each(function() {
var key, value;
Expand Down Expand Up @@ -520,12 +519,6 @@
}
{% endif %}
// Workaround for Firefox bug and a thereby resulting nginx incompatibility
if (method == "LINK") {
method = "POST";
params._method = "LINK";
}
// prepare final parameters
var body = {};
if(bodyFormat == 'json' && method != 'GET') {
Expand Down

0 comments on commit 7f5f8bd

Please sign in to comment.