[Zope-Checkins] CVS: Zope/lib/python/Products/PageTemplates/www - ptEdit.zpt:1.6
Andreas Jung
andreas@andreas-jung.com
Sun, 6 Jul 2003 06:44:34 -0400
Update of /cvs-repository/Zope/lib/python/Products/PageTemplates/www
In directory cvs.zope.org:/tmp/cvs-serv8091/lib/python/Products/PageTemplates/www
Modified Files:
ptEdit.zpt
Log Message:
- Collector #628: Applied patch to fix several textarea resize
problems.
=== Zope/lib/python/Products/PageTemplates/www/ptEdit.zpt 1.5 => 1.6 ===
--- Zope/lib/python/Products/PageTemplates/www/ptEdit.zpt:1.5 Fri Jun 7 16:16:09 2002
+++ Zope/lib/python/Products/PageTemplates/www/ptEdit.zpt Sun Jul 6 06:43:59 2003
@@ -68,17 +68,16 @@
<tr>
<td align="left" valign="top" colspan="4"
- tal:define="width request/form/dtpref_cols | request/dtpref_cols | string:100%;
+ tal:define="width request/dtpref_cols | string:100%;
relative_width python:str(width).endswith('%')">
- <textarea name="text:text" wrap="off" style="width:100%;" rows="20"
+ <textarea name="text:text" wrap="off" style="width: 100%;" rows="20"
tal:condition="relative_width"
- tal:attributes="style string:width:$width;
- rows request/form/dtpref_rows | request/dtpref_rows | default"
+ tal:attributes="style string:width: $width;;;
+ rows request/dtpref_rows | default"
tal:content="body">Template Body</textarea>
<textarea name="text:text" wrap="off" rows="20" cols="50"
tal:condition="not:relative_width"
- tal:attributes="cols width;
- rows request/form/dtpref_rows | request/dtpref_rows | default"
+ tal:attributes="cols width; rows request/dtpref_rows | default"
tal:content="body">Template Body</textarea>
</td>
</tr>