[Zope-dev] ZCatalogIndexes

brian.r.brinegar.1 brinegar@purdue.edu
Wed, 17 Oct 2001 16:41:01 -0500 (EST)


A bug in ZCatalog/dtml/manageIndex.dtml prevents users from adding Indexes
without having JavaScript enabled. The manageIndex.dtml form submits to
addIndexForm which was used before PluginIndexes (2.4 I think).

ZCatalog/dtml/addIndexForm.dtml is no longer needed

ZCatalog/dtml/manageIndex.dtml needs the following changes to work without
javascript:

line 75:
	<form action="addIndexForm" method="get">
Change to:
	<form action="&dtml-absolute_url;" method="get">

line 77:
	<select class="form-element" name="index_type"
Change to:
	<select class="form-element" name=":action"

This fixes the problem.

 --Brian Brinegar
  ECN Web Technician
  MSEE 104 A 494-3106
  http://www.geeksoft.net/