From 7e70c22c0b58eda7045206cd1e8ac9033a18af80 Mon Sep 17 00:00:00 2001 From: Ilya Zverev Date: Mon, 27 Apr 2015 18:01:10 +0300 Subject: [PATCH] Added fake parameter to work with the latest josm --- www/borders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/borders.js b/www/borders.js index 0cd435f..8f27fda 100644 --- a/www/borders.js +++ b/www/borders.js @@ -308,7 +308,7 @@ function importInJOSM(method, data ) { var url = getServer(method) + '?' + $.param(data); $.ajax({ url: 'http://127.0.0.1:8111/import', - data: { url: url, new_layer: 'true' }, + data: { url: url, new_layer: 'true', format: '.osm' }, complete: function(t) { if( t.status != 200 ) window.alert('Please enable remote_control in JOSM');