From 3119502a0f2f3edaf24119487cd6123c8d4018d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 10 Oct 2018 17:06:21 -0400 Subject: [PATCH] Modify ping url and loader message on restart. --- .gitignore | 3 ++- views/system.tpl | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5a5097008..f3d01e2b6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ cachefile.dbm *.log.* *.db *.pyc -.idea/* \ No newline at end of file +.idea/* +bazarr.pid diff --git a/views/system.tpl b/views/system.tpl index bbc77c86d..28386862c 100644 --- a/views/system.tpl +++ b/views/system.tpl @@ -41,7 +41,7 @@
-
Loading...
+
Loading...
% include('menu.tpl') @@ -225,6 +225,7 @@ }) $('#restart').click(function(){ + $('#loader_text').text("Bazarr is restarting, please wait..."); $.ajax({ url: "{{base_url}}restart", async: true @@ -236,7 +237,7 @@ function ping() { $.ajax({ - url: window.location.href, + url: '{{base_url}}', success: function(result) { window.location.reload(); }