mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Send ajax request as 'application/json', while fetching the modified sql
from the dialog properties.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user