Send ajax request as 'application/json', while fetching the modified sql
from the dialog properties.pull/3/head
parent
faa984debc
commit
1945872e3f
|
|
@ -977,7 +977,9 @@
|
|||
url: msql_url,
|
||||
type: 'GET',
|
||||
cache: false,
|
||||
data: self.model.toJSON(true)
|
||||
data: self.model.toJSON(true),
|
||||
dataType: "json",
|
||||
contentType: "application/json"
|
||||
}).done(function(res) {
|
||||
self.sqlTab.clearHistory();
|
||||
self.sqlTab.setValue(res.data);
|
||||
|
|
|
|||
Loading…
Reference in New Issue