From dd9b716df78342ae7910e7ce7e3b45492086e6a8 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 12 Mar 2018 16:34:19 -0400 Subject: [PATCH 1/5] Trigger form validation everytime an element of the settings_form loose focus --- views/settings.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/views/settings.tpl b/views/settings.tpl index 80d235927..fa6f8055f 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -679,4 +679,8 @@ $('.form').form('validate form'); $('#loader').removeClass('active'); }); + + $('#settings_form').focusout(function() { + $('.form').form('validate form'); + }) \ No newline at end of file From a8db9e85aac718ca84f9abd141bf2240f98207e4 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 12 Mar 2018 16:38:33 -0400 Subject: [PATCH 2/5] Add possibility to configure a hostname to reach Sonarr #47 --- views/settings.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/views/settings.tpl b/views/settings.tpl index fa6f8055f..401c16468 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -282,7 +282,7 @@
- +
@@ -292,7 +292,7 @@