jmitchell    2003/09/29 17:50:26

  Modified:    web/test/test/org/apache/struts/taglib/html TestFormTag1.jsp
  Log:
  Update taglib tests to match recent changes.
  
  Revision  Changes    Path
  1.3       +2 -2      
jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestFormTag1.jsp
  
  Index: TestFormTag1.jsp
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestFormTag1.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestFormTag1.jsp  10 Mar 2003 01:57:31 -0000      1.2
  +++ TestFormTag1.jsp  30 Sep 2003 00:50:26 -0000      1.3
  @@ -41,7 +41,7 @@
     <!--
     var focusControl = document.forms["testFormBean"].elements["string"];
   
  -  if (focusControl.type != "hidden") {
  +  if (focusControl.type != "hidden" && !focusControl.disabled) {
        focusControl.focus();
     }
     // -->
  @@ -62,7 +62,7 @@
     <!--
     var focusControl = document.forms["testFormBean"].elements["stringIndexed"];
   
  -  if (focusControl.type != "hidden") {
  +  if (focusControl.type != "hidden" && !focusControl.disabled) {
        focusControl[2].focus();
     }
     // -->
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to