Skip to content

Commit

Permalink
jsondata decodeURIComponent() applied on submitted string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Engelbert Niehaus committed Jun 4, 2019
1 parent 799b732 commit 4b82519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.html
Expand Up @@ -235,6 +235,7 @@ <h2 align="center">
var vGeoArr = vGeoLoc.split(",");
vRecJSON["lat"] = vGeoArr[1];
vRecJSON["lng"] = vGeoArr[0];
vRecJSON["jsondata"] = decodeURIComponent(vRecJSON["jsondata"]);
vEditor4JSON.aData[vEditor4JSON.current] = vRecJSON;
vEditor4JSON.aEditor.setValue(vRecJSON);
// update the selected current record in JSON with the selected geolocation
Expand Down

0 comments on commit 4b82519

Please sign in to comment.