[Zope3-checkins] SVN: zope.formlib/trunk/ Fixed template issue; this does not blow up in regular ZPT, because it's never evaluated. Still a bug though.

Malthe Borch mborch at gmail.com
Fri May 27 17:08:50 EDT 2011


Log message for revision 121829:
  Fixed template issue; this does not blow up in regular ZPT, because it's never evaluated. Still a bug though.

Changed:
  U   zope.formlib/trunk/CHANGES.txt
  U   zope.formlib/trunk/src/zope/formlib/orderedSelectionList.pt

-=-
Modified: zope.formlib/trunk/CHANGES.txt
===================================================================
--- zope.formlib/trunk/CHANGES.txt	2011-05-27 19:00:55 UTC (rev 121828)
+++ zope.formlib/trunk/CHANGES.txt	2011-05-27 21:08:49 UTC (rev 121829)
@@ -5,7 +5,7 @@
 4.0.6 (unreleased)
 ==================
 
-- Nothing changed yet.
+- Fixed bug in ``orderedSelectionList.pt`` template.
 
 
 4.0.5 (2010-09-16)

Modified: zope.formlib/trunk/src/zope/formlib/orderedSelectionList.pt
===================================================================
--- zope.formlib/trunk/src/zope/formlib/orderedSelectionList.pt	2011-05-27 19:00:55 UTC (rev 121828)
+++ zope.formlib/trunk/src/zope/formlib/orderedSelectionList.pt	2011-05-27 21:08:49 UTC (rev 121829)
@@ -177,7 +177,7 @@
         <script type="text/javascript" tal:content="string:
           copyDataForSubmit('${view/name}');">
           // initial copying of field "field.to" --> "field"
-          copyDataForSubmit("<i tal:replace="${view/name}"/>");
+          copyDataForSubmit("<i tal:replace="view/name"/>");
         </script>
       </span>
     </td>



More information about the Zope3-Checkins mailing list