From 0f29c42bdedbce496ff58ff0765da8e64b6dacaa Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Tue, 6 Dec 2016 12:52:28 +0200 Subject: [PATCH] [WebUI] Set focus to password field (#1230) Reported-by: @madorin --- interface/js/rspamd.js | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.39.5