patch to fix the preference tool

Mathieu Longtin <mrdamnfrenchy-/[email protected]> Wed, 24 Mar 2004 13:27:47 -0800 (PST)
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
When starting to use PyDS, the pref screen has a bunch of
"yesno" that should be in the select. Might be an IE bug.

Here's a patch to fix this.

-Mathieu

Index: PreferencesTool.py
===================================================================
retrieving revision 1.43
diff -u -r1.43 PreferencesTool.py
--- PreferencesTool.py	11 Feb 2004 09:08:03 -0000	1.43
+++ PreferencesTool.py	24 Mar 2004 20:21:17 -0000
@@ -240,7 +240,7 @@
 								html += '<option value="%s">%s' % (o[0], o[1])
 						html += '</select></td>'
 					elif p[1][0] == 'F':
-						html += '<td align="left"><select name="%s">' % p[0]
+						html += '<td align="left">'
 						html += macros.selection(p[0], pv, (
 							(0, _('use HTML source code')),
 							(1, _('use restructured Text and Cheetah')),
@@ -248,7 +248,7 @@
 						))
 						html += '</td>'
 					elif p[1][0] == 'Y':
-						html += '<td align="left"><select name="%s">' % p[0]
+						html += '<td align="left">'
 						html += macros.checkBox(p[0], pv)
 						html += '</td>'
 					elif p[1][0] == 'S':
 

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html