[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_control - synPropertiesForm.pt:

Andrew Sawyers andrew@zope.com
Fri, 18 Jan 2002 11:14:00 -0500

Update of /cvs-repository/CMF/CMFDefault/skins/zpt_control
In directory cvs.zope.org:/tmp/cvs-serv20776/CMFDefault/skins/zpt_control

Modified Files:
      Tag: CMF-1_2-branch
Log Message:

*Fixed bugs in SyndicationTool module where methods weren't properly dealing with the case when obj was None.
*Fixed zpt skin to properly select the update frequency.

=== CMF/CMFDefault/skins/zpt_control/synPropertiesForm.pt 1.2 => ===
 		   tal:define="upd python: portal_syndication.getUpdatePeriod(here)"
 		   tal:repeat="item portal_syndication/buildUpdatePeriods"
-		   tal:attributes="value python: item[0]; selected python: item == upd"
+		   tal:attributes="value python: item[0]; selected python: item[0] == upd"
 		   tal:content="python: item[1]">Hourly