From d2c793e71622bd55caea493c3f8f628a74c3e46b Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Fri, 27 Jul 2018 11:03:06 +0300 Subject: [PATCH] [Minor] Remove obsolete HTTP request --- interface/js/app/rspamd.js | 13 ------------- 1 file changed, 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); -- 2.39.5