Private
Public Access
1
0

fixed ajax forms (ending slash)

This commit is contained in:
Sander Roosendaal
2019-01-05 19:17:33 +01:00
parent f7acc1063c
commit fb872eac7c
5 changed files with 4 additions and 4 deletions

View File

@@ -180,7 +180,7 @@
$.ajax({ $.ajax({
data: data, data: data,
type: $(this).attr('method'), type: $(this).attr('method'),
url: '/rowers/courses/upload', url: '/rowers/courses/upload/',
contentType: false, contentType: false,
processData: false, processData: false,
error: function(result) { error: function(result) {

View File

@@ -171,7 +171,7 @@
$.ajax({ $.ajax({
data: data, data: data,
type: $(this).attr('method'), type: $(this).attr('method'),
url: '/rowers/workout/{{ workout.id }}/image', url: '/rowers/workout/{{ workout.id }}/image/',
contentType: false, contentType: false,
processData: false, processData: false,
error: function(result) { error: function(result) {

View File

@@ -198,7 +198,7 @@
$.ajax({ $.ajax({
data: data, data: data,
type: $(this).attr('method'), type: $(this).attr('method'),
url: '/rowers/virtualevent/{{ race.id }}/image', url: '/rowers/virtualevent/{{ race.id }}/image/',
contentType: false, contentType: false,
processData: false, processData: false,
error: function(result) { error: function(result) {

View File

@@ -17,7 +17,7 @@
var data = new FormData(frm[0]); var data = new FormData(frm[0]);
$.ajax({ $.ajax({
url: "/rowers/virtualevents", url: "/rowers/virtualevents/",
type: "POST", type: "POST",
contentType: false, contentType: false,
processData: false, processData: false,

Binary file not shown.