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/
The patch is now in the CVS. Thanks for submitting. Andreas --------------------------------------------------------------------- - Andreas Jung Zope Corporation - - EMail: andreas@zope.com http://www.zope.com - - "Python Powered" http://www.python.org - - "Makers of Zope" http://www.zope.org - - "Endings are just Beginnings" - --------------------------------------------------------------------- ----- Original Message ----- From: "brian.r.brinegar.1" <brinegar@purdue.edu> To: <zope-dev@zope.org> Cc: <sydelko@purdue.edu>; <laird@ecn.purdue.edu>; <cnd@ecn.purdue.edu> Sent: Wednesday, October 17, 2001 17:41 Subject: [Zope-dev] ZCatalogIndexes
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/
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
Andreas Jung -
brian.r.brinegar.1