aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-07-27 11:03:06 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-07-27 11:03:06 +0300
commitd2c793e71622bd55caea493c3f8f628a74c3e46b (patch)
tree6324cc421b31b397396aa95af85d157265d6a003 /interface
parentdb3d0cb4b994558f63a28011a13a9e08d5f6d1d8 (diff)
downloadrspamd-d2c793e71622bd55caea493c3f8f628a74c3e46b.tar.gz
rspamd-d2c793e71622bd55caea493c3f8f628a74c3e46b.zip
[Minor] Remove obsolete HTTP request
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/rspamd.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 5edf24deb..162717288 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -259,19 +259,6 @@ function ($, d3pie, visibility, tab_stat, tab_graph, tab_config,
}, 1000);
});
- $.ajax({
- type: "GET",
- url: "stat",
- success: function () {
- saveCredentials({}, "nopassword");
- var dialog = $("#connectDialog");
- var backdrop = $("#backDrop");
- $(dialog).hide();
- $(backdrop).hide();
- displayUI();
- },
- });
-
$("a[data-toggle=\"tab\"]").on("click", function (e) {
var tab_id = "#" + $(e.target).attr("id");
tabClick(tab_id);