[Checkins] SVN: zope.app.form/trunk/ Fixed bug where OrderedMultiSelectWidget did not respect the widgets size attribute.
Kevin Teague
kevin at bud.ca
Wed Feb 18 15:08:17 EST 2009
Log message for revision 96707:
Fixed bug where OrderedMultiSelectWidget did not respect the widgets size attribute.
Changed:
U zope.app.form/trunk/CHANGES.txt
U zope.app.form/trunk/src/zope/app/form/browser/orderedSelectionList.pt
-=-
Modified: zope.app.form/trunk/CHANGES.txt
===================================================================
--- zope.app.form/trunk/CHANGES.txt 2009-02-18 20:08:00 UTC (rev 96706)
+++ zope.app.form/trunk/CHANGES.txt 2009-02-18 20:08:17 UTC (rev 96707)
@@ -5,7 +5,8 @@
3.7.2 (unreleased)
==================
-- ...
+- Fixed bug where OrderedMultiSelectWidget did not respect the widgets
+ size attribute.
3.7.1 (2009-01-31)
==================
Modified: zope.app.form/trunk/src/zope/app/form/browser/orderedSelectionList.pt
===================================================================
--- zope.app.form/trunk/src/zope/app/form/browser/orderedSelectionList.pt 2009-02-18 20:08:00 UTC (rev 96706)
+++ zope.app.form/trunk/src/zope/app/form/browser/orderedSelectionList.pt 2009-02-18 20:08:17 UTC (rev 96707)
@@ -142,7 +142,9 @@
<td>
<select id="from" name="from" size="5" multiple=""
tal:attributes="name string:${view/name}.from;
- id string:${view/name}.from">
+ id string:${view/name}.from;
+ size view/size"
+ >
<option tal:repeat="entry view/choices"
tal:attributes="value entry/value"
tal:content="entry/text" i18n:translate=""/>
@@ -162,7 +164,8 @@
<td>
<select id="to" name="to" size="5" multiple=""
tal:attributes="name string:${view/name}.to;
- id string:${view/name}.to">
+ id string:${view/name}.to;
+ size view/size">
<option tal:repeat="entry view/selected"
tal:attributes="value entry/value"
tal:content="entry/text" i18n:translate=""/>
More information about the Checkins
mailing list