From 8b52676543e3f5f1350d8d0eeaedee6fe35f49b3 Mon Sep 17 00:00:00 2001 From: qw3rty Date: Mon, 28 Jun 2010 14:31:15 +0000 Subject: [PATCH] OSQA-266 Put focus on comment text area when clicking "Add new comment" git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@458 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/media/js/osqa.main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/forum/skins/default/media/js/osqa.main.js b/forum/skins/default/media/js/osqa.main.js index dc84677..e2a5e87 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -435,6 +435,7 @@ $(function() { function show_comment_form() { $container.slideDown('slow'); $add_comment_link.fadeOut('slow'); + $textarea.focus(); window.setInterval(function() { process_form_changes(); }, 200); -- 2.39.5