Explorar el Código

fixed post

tags/0.1.0
Robin Thoni hace 8 años
padre
commit
7ac843268b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/request.js

+ 1
- 1
src/request.js Ver fichero

@@ -60,7 +60,7 @@
60 60
                     url: url,
61 61
                     method: method,
62 62
                     params: dataGet,
63
-                    data: $.param(dataPost),
63
+                    data: dataPost == null ? null : $.param(dataPost),
64 64
                     headers: {
65 65
                         'Content-Type': "application/x-www-form-urlencoded"
66 66
                     }

Loading…
Cancelar
Guardar