CVS: tmda-cgi EditList.py,1.11,1.12

Jim Ramsay <[email protected]> Wed, 18 Feb 2004 09:42:18 -0800
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30678

Modified Files:
	EditList.py 
Log Message:
Fixed bug reported by David Steinberg - Some browsers cannot save an empty list


Index: EditList.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/EditList.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- EditList.py	4 Feb 2004 20:56:23 -0000	1.11
+++ EditList.py	18 Feb 2004 17:42:15 -0000	1.12
@@ -138,6 +138,8 @@
     else:
       if Form.has_key("list"):
         List = Form["list"].value
+      elif Form["subcmd"].value == "save":
+        List = ""
 
       # Make sure the list is properly formatted
       List = re.sub("\r\n", "\n", List)