]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] fix savesymbols absolute url to relative 1199/head
authorToni Mattila <toni.mattila@neutech.fi>
Tue, 29 Nov 2016 06:50:37 +0000 (08:50 +0200)
committerToni Mattila <toni.mattila@neutech.fi>
Tue, 29 Nov 2016 06:50:37 +0000 (08:50 +0200)
interface/js/rspamd.js

index 3a38a326b904a79e3a3a95c72607fc7e0ddf4741..e2a6aaffacf11131ed83070e18b1ffb19e95936b 100644 (file)
                     });
                     symbols.columns.adjust().draw();
                     $('#symbolsTable :button').on('click',
-                        function(){saveSymbols("/savesymbols", "symbolsTable")});
+                        function(){saveSymbols("./savesymbols", "symbolsTable")});
                 },
                 error: function (data) {
                     alertMessage('alert-modal alert-error', data.statusText);