aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/settings.html
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-26 21:01:00 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-26 21:01:19 -0500
commit2dbb24ea0416cb83185b6f92624bd9b6e937eade (patch)
tree8e613e5aa3c7c6dc45c74967533d64e0818292d4 /ext/bg/settings.html
parent0cf1cf3aa094585bd6db8db2c1f229ba0ea37b6e (diff)
Improve error messages when Interface server is invalid
Diffstat (limited to 'ext/bg/settings.html')
-rw-r--r--ext/bg/settings.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 3e06d4b5..8c787aff 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -760,6 +760,13 @@
<div class="alert alert-danger" id="anki-error" hidden></div>
+ <div class="alert alert-danger" id="anki-invalid-response-error" hidden>
+ Attempting to connect to Anki can sometimes return an error message which includes "Invalid response",
+ which may indicate that the value of the <strong>Interface server</strong> option is incorrect.
+ The <strong>Show advanced options</strong> checkbox under General Options must be ticked ticked to show this option.
+ Resetting it to the default value may fix issues that are occurring.
+ </div>
+
<div class="form-group">
<label for="card-tags">Card tags <span class="label-light">(comma or space separated)</span></label>
<input type="text" id="card-tags" class="form-control">
@@ -771,7 +778,7 @@
</div>
<div class="form-group options-advanced">
- <label for="interface-server">Interface server</label>
+ <label for="interface-server">Interface server <span class="label-light">(Default: http://127.0.0.1:8765)</span></label>
<input type="text" id="interface-server" class="form-control">
</div>