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