From 07a48c04d7336a442f59380795dec158c6901bb1 Mon Sep 17 00:00:00 2001
From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
Date: Thu, 28 May 2020 19:22:55 -0700
Subject: [PATCH] Improve PMS verify error message in setup wizard
---
data/interfaces/default/welcome.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/interfaces/default/welcome.html b/data/interfaces/default/welcome.html
index 6ea6fa9c..da88a2c4 100644
--- a/data/interfaces/default/welcome.html
+++ b/data/interfaces/default/welcome.html
@@ -495,7 +495,7 @@ $(document).ready(function() {
var pms_ssl = $("#pms_ssl").val();
var pms_is_remote = $("#pms_is_remote").val();
if ((pms_ip !== '') || (pms_port !== '')) {
- $("#pms-verify-status").html(' Validating server...');
+ $("#pms-verify-status").html(' Verifying server...');
$('#pms-verify-status').fadeIn('fast');
$.ajax({
url: 'get_server_id',
@@ -510,7 +510,7 @@ $(document).ready(function() {
async: true,
timeout: 5000,
error: function (jqXHR, textStatus, errorThrown) {
- $("#pms-verify-status").html(' This is not a Plex Server!');
+ $("#pms-verify-status").html(' Error verifying server: ' + textStatus);
$('#pms-verify-status').fadeIn('fast');
},
success: function(xhr, status) {