[Zope-Checkins] CVS: Zope/lib/python/OFS - DTMLMethod.py:1.76

Casey Duncan casey@zope.com
Fri, 12 Apr 2002 15:25:48 -0400


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv12251/lib/python/OFS

Modified Files:
	DTMLMethod.py 
Log Message:
Fix for Bug#96: Narrower/Wider buttons now work in CSS browsers. This is only
in affect for DTML thus far.


=== Zope/lib/python/OFS/DTMLMethod.py 1.75 => 1.76 ===
         
         rows=max(1,int(dtpref_rows)+dr)
-        cols=max(40,int(dtpref_cols)+dc)
+        cols=max(35,int(dtpref_cols)+dc)
         e=(DateTime('GMT') + 365).rfc822()
         resp=REQUEST['RESPONSE']
         resp.setCookie('dtpref_rows',str(rows),path='/',expires=e)
@@ -231,7 +231,7 @@
             self,REQUEST,title=title,__str__=self.quotedHTML(data),
             dtpref_cols=cols,dtpref_rows=rows)
 
-    def manage_edit(self,data,title,SUBMIT='Change',dtpref_cols='50',
+    def manage_edit(self,data,title,SUBMIT='Change',dtpref_cols='70',
                     dtpref_rows='20',REQUEST=None):
         """
         Replaces a Documents contents with Data, Title with Title.