Explorar el Código

Merge pull request #73 from tot-ra/patch-1

Problem sending parameters via POST
bubble
fehguy hace 12 años
padre
commit
43ddbc0c04
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/main/coffeescript/view/OperationView.coffee

+ 1
- 1
src/main/coffeescript/view/OperationView.coffee Ver fichero

@@ -78,7 +78,7 @@ class OperationView extends Backbone.View
complete: (data) =>
@showCompleteStatus(data)

obj.contentType = "application/json" if (obj.type.toLowerCase() == "post" or obj.type.toLowerCase() == "put" or obj.type.toLowerCase() == "patch")
obj.contentType = "application/json" if (obj.type.toLowerCase() == "put" or obj.type.toLowerCase() == "patch")
jQuery.ajax(obj)
false


Cargando…
Cancelar
Guardar