You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by oc...@apache.org on 2009/07/20 07:54:18 UTC

svn commit: r795695 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp

Author: oching
Date: Mon Jul 20 05:54:18 2009
New Revision: 795695

URL: http://svn.apache.org/viewvc?rev=795695&view=rev
Log:
[MRM-1171]
submitted by Gwen Harold Autencio

o fixed table for advanced search fields so that they appear in IE6 and IE7

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp?rev=795695&r1=795694&r2=795695&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp (original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/quickSearch.jsp Mon Jul 20 05:54:18 2009
@@ -50,7 +50,8 @@
 
       row.appendChild( label ); 
       row.appendChild( textfield );
-      table.appendChild( row );
+      table.tBodies[0].appendChild( row );
+
     }
   </script>  
 
@@ -114,15 +115,17 @@
           <s:a href="#" title="Add Search Field" onclick="addSearchField( document.filteredSearch.searchField.options[document.filteredSearch.searchField.selectedIndex].text, document.filteredSearch.searchField.value, 'dynamicFields' )" theme="simple">
             <img src="${iconCreateUrl}" />
           </s:a>
-          <table id="dynamicTable">    
-            <tr>
-              <td><label>Repository: </td>
-              <td><s:select name="repositoryId" list="managedRepositoryList" theme="simple"/></td> 
-            </tr>       
-            <tr>
-              <td/>
-              <td/>  
-            </tr>
+          <table id="dynamicTable">
+            <tbody>    
+              <tr>
+                <td><label>Repository: </td>
+                <td><s:select name="repositoryId" list="managedRepositoryList" theme="simple"/></td> 
+              </tr>       
+              <tr>
+                <td/>
+                <td/>  
+              </tr>
+            </tbody>
           </table> 
           <s:submit value="Search" theme="simple"/>  
         </s:form>