diff --git a/src/ui/static/js/global.js b/src/ui/static/js/global.js index 97a9ab7cc..3143d96d0 100644 --- a/src/ui/static/js/global.js +++ b/src/ui/static/js/global.js @@ -37,9 +37,7 @@ class News { } ); return await this.render(res); - } catch (err) { - console.log(err); - } + } catch (err) {} }); } diff --git a/src/ui/static/js/logs.js b/src/ui/static/js/logs.js index 38e7fca13..d8228f0f1 100644 --- a/src/ui/static/js/logs.js +++ b/src/ui/static/js/logs.js @@ -256,7 +256,6 @@ class FetchLogs { this.fromDate = Date.parse(this.fromDateInp.value) ? Date.parse(this.fromDateInp.value) : Date.now() - 86400000; - console.log(Date.parse(this.fromDateInp.value)); this.toDate = Date.parse(this.toDateInp.value) ? Date.parse(this.toDateInp.value) : false; diff --git a/src/ui/static/js/plugins.js b/src/ui/static/js/plugins.js index 4fb671940..030f8f7d9 100644 --- a/src/ui/static/js/plugins.js +++ b/src/ui/static/js/plugins.js @@ -414,10 +414,8 @@ class Modal { } init() { - console.log("init modal"); this.container.addEventListener("click", (e) => { //DELETE HANDLER - console.log("click"); try { if ( e.target.closest("button").getAttribute(`${this.prefix}-action`) === diff --git a/src/ui/static/js/services.js b/src/ui/static/js/services.js index fc557ebe1..dd0b5721c 100644 --- a/src/ui/static/js/services.js +++ b/src/ui/static/js/services.js @@ -46,7 +46,6 @@ class ServiceModal { //actions try { if (e.target.closest("button").hasAttribute("services-action")) { - console.log("click"); //do nothing if same btn and service as before const isLastSame = this.isLastServAndAct(e.target); if (isLastSame) return; @@ -57,13 +56,10 @@ class ServiceModal { const serviceName = e.target .closest("button") .getAttribute("services-name"); - console.log(action); - console.log(serviceName); if (action === "edit" || action === "new") { this.setForm(action, serviceName, this.formNewEdit); this.setDefaultValue(); - console.log("set default"); } if (action === "delete") @@ -75,10 +71,7 @@ class ServiceModal { .closest("[services-service]") .querySelector("[services-settings]") .getAttribute("value"); - console.log(servicesSettings); const obj = JSON.parse(servicesSettings); - console.log(obj); - console.log("start update"); this.updateModalData(obj); } //open modal when all done @@ -133,8 +126,6 @@ class ServiceModal { } }); - console.log("input default"); - this.selects.forEach((select) => { let defaultVal = ""; try { @@ -170,7 +161,6 @@ class ServiceModal { .click(); }); - console.log("default select"); //server name always enabled for default this.setNameSetting("ui", ""); } diff --git a/src/ui/static/js/utils/settings.js b/src/ui/static/js/utils/settings.js index d3f117456..86338ea4c 100644 --- a/src/ui/static/js/utils/settings.js +++ b/src/ui/static/js/utils/settings.js @@ -50,7 +50,6 @@ class Tabs { e.target.closest("button").hasAttribute("tab-handler") || e.target.closest("button").hasAttribute("tab-handler-mobile") ) { - console.log("tab clicked"); //get needed data const tab = e.target.closest("button"); const tabAtt = diff --git a/src/ui/templates/settings_plugins.html b/src/ui/templates/settings_plugins.html index 871126d46..d9c76acd5 100644 --- a/src/ui/templates/settings_plugins.html +++ b/src/ui/templates/settings_plugins.html @@ -29,7 +29,7 @@