data stringification was not done, when object was not modified, and

passed as it is and that leads to error during fetching the modified
SQL.

Thanks Neel for the point out.
This commit is contained in:
Ashesh Vashi
2016-01-07 18:31:08 +05:30
parent fe05f2d0c6
commit a611f84aad
2 changed files with 18 additions and 17 deletions

View File

@@ -978,7 +978,7 @@
url: msql_url,
type: 'GET',
cache: false,
data: self.model.toJSON(true, 0, 'GET'),
data: self.model.toJSON(true, 'GET'),
dataType: "json",
contentType: "application/json"
}).done(function(res) {