[Checkins] SVN: z3c.form/trunk/ Properly escape JS code in script tag for the ordered-select widget. See
Stephan Richter
srichter at gmail.com
Wed Jan 4 12:29:04 UTC 2012
Log message for revision 123938:
Properly escape JS code in script tag for the ordered-select widget. See
LP829484.
Changed:
U z3c.form/trunk/CHANGES.txt
U z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt
-=-
Modified: z3c.form/trunk/CHANGES.txt
===================================================================
--- z3c.form/trunk/CHANGES.txt 2012-01-04 12:09:15 UTC (rev 123937)
+++ z3c.form/trunk/CHANGES.txt 2012-01-04 12:29:04 UTC (rev 123938)
@@ -18,11 +18,15 @@
- Make zope.container dependency more optional (it is only used in tests)
+- Properly escape JS code in script tag for the ordered-select widget. See
+ LP829484.
+
- Cleaned whitespace in page templates.
- Fix ``IGroupForm`` interface and actually use it in the ``GroupForm``
class. See LP580839.
+- Added Spanish translation.
2.5.1 (2011-11-26)
------------------
Modified: z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt
===================================================================
--- z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt 2012-01-04 12:09:15 UTC (rev 123937)
+++ z3c.form/trunk/src/z3c/form/browser/orderedselect_input.pt 2012-01-04 12:29:04 UTC (rev 123938)
@@ -220,8 +220,10 @@
tal:attributes="id string:${view/id}-toDataContainer">
<script type="text/javascript" tal:content="string:
copyDataForSubmit('${view/id}');">
+ /* <![CDATA[ */
// initial copying of field "field.to" --> "field"
copyDataForSubmit("<i tal:replace="${view/id}"/>");
+ /* ]]> */
</script>
</span>
</td>
More information about the checkins
mailing list