From c48b9b54eee9f84140175c65be1a3fcdcd9edc23 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 21 Dec 2008 09:43:36 +0000 Subject: [PATCH] Add textarea to list of possible focus candidates git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13380 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/js/default.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default/js/default.js b/templates/default/js/default.js index 2c045a36..e83f7a41 100644 --- a/templates/default/js/default.js +++ b/templates/default/js/default.js @@ -271,7 +271,7 @@ function checkForm(smaction) { var e = document.forms[i].elements.length; var j = 0; while( pos == -1 && j < e ) { - if ( document.forms[i].elements[j].type == 'text' || document.forms[i].elements[j].type == 'password' ) { + if ( document.forms[i].elements[j].type == 'text' || document.forms[i].elements[j].type == 'password' || document.forms[i].elements[j].type == 'textarea' ) { pos = j; } j++; -- 2.25.1