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();
}