Commit d7df8b39 authored by Jérome Perrin's avatar Jérome Perrin

use relative links to work behind a proxy

parent 6f913d3d
......@@ -30,7 +30,7 @@
<a id="zoom_in">Zoom +</a>
<a id="zoom_out">Zoom -</a>
<a id="export">Export</a>
<form id="export_form" style="display:none" method="post" action="/postJSONData">
<form id="export_form" style="display:none" method="post" action="../postJSONData">
<textarea id="export_json" name="data"></textarea>
</form>
<a id="import">Import</a>
......
......@@ -260,7 +260,7 @@
that.setGeneralProperties(properties);
$.ajax(
'/runSimulation', {
'../runSimulation', {
data: JSON.stringify({
json: that.getData()
}),
......
......@@ -30,7 +30,7 @@
var configuration = { };
$.ajax(
'/getConfigurationDict', {
'../getConfigurationDict', {
success: function (data) {
configuration = $.extend(configuration, data);
......@@ -232,7 +232,7 @@
$("#import_file").change(function () {
var form = $(this).parent('form')[0];
var form_data = new FormData(form);
$.ajax('/postJSONFile', {
$.ajax('../postJSONFile', {
type: 'POST',
contentType: false,
processData: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment