aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/rspamd.js
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-12-06 12:52:28 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-12-06 12:52:28 +0200
commite3ef060c1b5e20ab8abe3c10f630d71e96802dc2 (patch)
tree6f9ea7583de9202130ac2bed63b969d7b17b0983 /interface/js/rspamd.js
parentc2452e00c3243ac461428e62df60a35ef7adb966 (diff)
downloadrspamd-e3ef060c1b5e20ab8abe3c10f630d71e96802dc2.tar.gz
rspamd-e3ef060c1b5e20ab8abe3c10f630d71e96802dc2.zip
[WebUI] Set focus to password field (#1230)
Reported-by: @madorin
Diffstat (limited to 'interface/js/rspamd.js')
-rw-r--r--interface/js/rspamd.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js
index 40a9799e6..8d6b83e0c 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -1172,6 +1172,7 @@
$(dialog).show();
$('#connectHost').focus();
$(backdrop).show();
+ document.getElementById("connectPassword").focus();
$('#connectForm').one('submit', function (e) {
e.preventDefault();
var password = $('#connectPassword').val();