mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
Closes #461
This commit is contained in:
parent
27335b85b2
commit
1291c932b0
@ -2040,8 +2040,11 @@ define([
|
||||
}
|
||||
}
|
||||
|
||||
// Respect the proxyPath if one has been set (Added at v3.2.0)
|
||||
var url = this.proxyPath ? this.proxyPath + "?" + layer.url : layer.url;
|
||||
|
||||
var req = new XMLHttpRequest();
|
||||
req.open("POST", layer.url + "/applyEdits", true);
|
||||
req.open("POST", url + "/applyEdits", true);
|
||||
req.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
|
||||
req.onload = function()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user