error: function (data) {
save_map_error(rspamd, "local", null, null, data.statusText);
},
- success: function() {save_map_success(rspamd);},
+ success: function() { save_map_success(rspamd); },
});
}
neighbours_status[ind].status = true; //serv does not work
neighbours_status[ind].data = data;
}
- if (neighbours_status.every(function (elt) {return elt.checked;})) {
+ if (neighbours_status.every(function (elt) { return elt.checked; })) {
if (on_success) {
on_success(neighbours_status);
}
neighbours_status[ind].host + ": " + errorThrown);
}
if (neighbours_status.every(
- function (elt) {return elt.checked;})) {
+ function (elt) { return elt.checked; })) {
if (on_success) {
on_success(neighbours_status);
}
{"name":"symbol", "title":"Symbol", "style":{"font-size":"11px"}},
{"name":"description", "title":"Description", "breakpoints":"xs sm", "style":{"font-size":"11px"}},
{"name":"weight", "title":"Score", "style":{"font-size":"11px"}},
- {"name":"frequency", "title":"Frequency", "breakpoints":"xs sm", "style":{"font-size":"11px"}, "sortValue": function(value) {return Number(value).toFixed(2);}},
+ {"name":"frequency", "title":"Frequency", "breakpoints":"xs sm", "style":{"font-size":"11px"}, "sortValue": function(value) { return Number(value).toFixed(2); }},
{"name":"time", "title":"Avg. time", "breakpoints":"xs sm", "style":{"font-size":"11px"}},
{"name":"save", "title":"Save", "style":{"font-size":"11px"}},
],