From c54c70cab76ff6725154a9f39b94b3c4be3b0b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 20 Nov 2019 16:14:39 +0200 Subject: [PATCH] Auto-focus the name field in the "Integration Details" modal. --- static/js/channels.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/channels.js b/static/js/channels.js index 50146146..90110bca 100644 --- a/static/js/channels.js +++ b/static/js/channels.js @@ -26,6 +26,10 @@ $(function() { return false; }); + $(".channel-modal").on('shown.bs.modal', function () { + $(".input-name", this).focus(); + }) + $('[data-toggle="tooltip"]').tooltip(); }); \ No newline at end of file