[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog/dtml - manageIndex.dtml:1.2.4.4

Andreas Jung andreas@zope.com
Thu, 18 Oct 2001 08:53:22 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog/dtml
In directory cvs.zope.org:/tmp/cvs-serv15516

Modified Files:
      Tag: Zope-2_4-branch
	manageIndex.dtml 
Log Message:
adding indexes did not work with disabled Javascript


=== Zope/lib/python/Products/ZCatalog/dtml/manageIndex.dtml 1.2.4.3 => 1.2.4.4 ===
   <td align="right" valign="top">
   <div class="form-element">
-  <form action="addIndexForm" method="get">
+  <form action="&dtml-absolute_url;" method="get">
   <dtml-if "_.len(filtered_meta_types) > 1">
-    <select class="form-element" name="index_type" 
+    <select class="form-element" name=":action" 
      onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
     <option value="manage_workspace" disabled>Select type to add...</option>
     <dtml-in filtered_meta_types mapping sort=name>
@@ -184,8 +184,8 @@
 
     <td>
       <div class="list-item">
-      <dtml-var numObjects missing="n/a">
-    </div>
+        <dtml-var numObjects missing="n/a">
+      </div>
     </td>
 
     <td>