[CMF-checkins] CVS: Products/CMFCore/dtml - editActions.dtml:1.4
Tres Seaver
tseaver@zope.com
Mon, 20 Aug 2001 09:39:00 -0400
Update of /cvs-repository/Products/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv13363/CMFCore/dtml
Modified Files:
editActions.dtml
Log Message:
- Ensure that "Visible?" checkboxes pass the value, "1" instead of
"on", so that using 'int' on it will work.
=== Products/CMFCore/dtml/editActions.dtml 1.3 => 1.4 ===
value="0" />
<dtml-let chk="visible and 'checked' or ''">
- <input type="checkbox" name="visible_&dtml-index;:boolean" &dtml-chk; />
+ <input type="checkbox" name="visible_&dtml-index;:boolean"
+ &dtml-chk; value="1" />
</dtml-let>
</div>
</td>
@@ -235,7 +236,7 @@
<div class="form-element">
<input type="hidden" name="visible:int:default"
value="0" />
- <input type="checkbox" name="visible:boolean" checked />
+ <input type="checkbox" name="visible:boolean" checked value="1"/>
</div>
</td>
</tr>