summaryrefslogtreecommitdiffstats
path: root/interface/js/app/symbols.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/symbols.js')
-rw-r--r--interface/js/app/symbols.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/interface/js/app/symbols.js b/interface/js/app/symbols.js
index ac569ee9d..928933739 100644
--- a/interface/js/app/symbols.js
+++ b/interface/js/app/symbols.js
@@ -26,8 +26,9 @@
define(["jquery", "footable"],
function ($) {
- var interface = {};
+ "use strict";
var ft = {};
+ var ui = {};
function saveSymbols(rspamd, action, id, is_cluster) {
var inputs = $("#" + id + " :input[data-role=\"numerictextbox\"]");
@@ -155,7 +156,7 @@ define(["jquery", "footable"],
return [items, distinct_groups];
}
// @get symbols into modal form
- interface.getSymbols = function (rspamd) {
+ ui.getSymbols = function (rspamd) {
$.ajax({
dataType: "json",
@@ -262,7 +263,7 @@ define(["jquery", "footable"],
});
};
- interface.setup = function (rspamd) {
+ ui.setup = function (rspamd) {
$("#updateSymbols").on("click", function (e) {
e.preventDefault();
$.ajax({
@@ -284,5 +285,5 @@ define(["jquery", "footable"],
});
};
- return interface;
+ return ui;
});