mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 11:53:48 +01:00
Serialize paramters to json to post.
This commit is contained in:
parent
d73c104543
commit
928ef3d813
@ -76,12 +76,12 @@ function buildDesigner(options) {
|
||||
method: 'post',
|
||||
url: "/c/restful/logger/editor",
|
||||
headers: {"Content-Type": "application/json", "Accept": "application/json"},
|
||||
data: {
|
||||
data: JSON.stringify({
|
||||
jsErrorMsg: "Message: '" + errorMsg + "', line:'" + lineNo + "', url: :" + url,
|
||||
jsStack: window.errorStack,
|
||||
userAgent: navigator.userAgent,
|
||||
mapId: options.mapId
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
// Close loading dialog ...
|
||||
|
Loading…
Reference in New Issue
Block a user