aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface/js/app/config.js b/interface/js/app/config.js
index 7b8ec9710..a5ec6c341 100644
--- a/interface/js/app/config.js
+++ b/interface/js/app/config.js
@@ -215,15 +215,15 @@ function($) {
$('#actionsFormField').attr('disabled', true);
}
- var elts = loadActionsFromForm();
-
$('#saveActionsClusterBtn').on('click', function() {
+ var elts = loadActionsFromForm();
rspamd.queryNeighbours('saveactions', null, null, "POST", {}, {
data: elts,
dataType: "json",
});
});
$('#saveActionsBtn').on('click', function() {
+ var elts = loadActionsFromForm();
rspamd.queryLocal('saveactions', null, null, "POST", {}, {
data: elts,
dataType: "json",
@@ -287,4 +287,4 @@ function($) {
interface.getMaps = getMaps;
return interface;
-}); \ No newline at end of file
+});