]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] WebUI: use relative path for savemap (#1943)
authorAndrew Lewis <nerf@judo.za.org>
Mon, 11 Dec 2017 09:46:50 +0000 (11:46 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 11 Dec 2017 09:46:50 +0000 (11:46 +0200)
interface/js/app/config.js

index b4f6178f62d8d543978773a2518e84074328a9c1..3346d3936f8a5a3666b00f4b4892d9080afa81f3 100644 (file)
@@ -125,7 +125,7 @@ function($) {
                     disabled = 'disabled="disabled"';
                 }
 
-                $('<form class="form-horizontal form-map" method="post "action="/savemap" data-type="map" id="' +
+                $('<form class="form-horizontal form-map" method="post" action="savemap" data-type="map" id="' +
                     item.map + '" style="display:none">' +
                     '<textarea class="list-textarea"' + disabled + '>' + text +
                     '</textarea>' +