summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-12-11 11:46:50 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-12-11 11:46:50 +0200
commitcb80955dc6fed7de8c8c66ab740dae4c27722bbc (patch)
tree1671be7717c65206d55eae0beff9aad191ee331c /interface
parent8308c7983fbdefd6ba72807888b1f7403d92a8f0 (diff)
downloadrspamd-cb80955dc6fed7de8c8c66ab740dae4c27722bbc.tar.gz
rspamd-cb80955dc6fed7de8c8c66ab740dae4c27722bbc.zip
[Fix] WebUI: use relative path for savemap (#1943)
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/config.js b/interface/js/app/config.js
index b4f6178f6..3346d3936 100644
--- a/interface/js/app/config.js
+++ b/interface/js/app/config.js
@@ -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>' +