From bea91521034e2892d74f0de4d9a6933e71169d6b Mon Sep 17 00:00:00 2001 From: Viktor Kovacs Date: Fri, 30 Apr 2021 08:35:25 +0200 Subject: [PATCH] Focus text area automatically when showing the open url dialog. --- website/o3dv/dialogs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/website/o3dv/dialogs.js b/website/o3dv/dialogs.js index 426c1b7..42310f4 100644 --- a/website/o3dv/dialogs.js +++ b/website/o3dv/dialogs.js @@ -74,6 +74,7 @@ OV.ShowOpenUrlDialog = function (onOk) $('
').html (text).addClass ('ov_dialog_section').appendTo (contentDiv); urlsTextArea.appendTo (contentDiv); dialog.Show (); + urlsTextArea.focus (); return dialog; };