|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: cgi_client.py,v 1.76 2001-12-05 14:26:44 rochecompaan Exp $ |
| 18 | +# $Id: cgi_client.py,v 1.77 2001-12-06 22:48:29 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | WWW request handler (also used in the stand-alone server). |
@@ -480,7 +480,7 @@ def _post_editnode(self, nid, change_note=None): |
480 | 480 | link.set(nodeid, **{property: nid}) |
481 | 481 |
|
482 | 482 | # handle file attachments |
483 | | - files = [] |
| 483 | + files = cl.get(nid, 'files') |
484 | 484 | if self.form.has_key('__file'): |
485 | 485 | file = self.form['__file'] |
486 | 486 | if file.filename: |
@@ -1084,6 +1084,10 @@ def parsePropsFromForm(db, cl, form, nodeid=0): |
1084 | 1084 |
|
1085 | 1085 | # |
1086 | 1086 | # $Log: not supported by cvs2svn $ |
| 1087 | +# Revision 1.76 2001/12/05 14:26:44 rochecompaan |
| 1088 | +# Removed generation of change note from "sendmessage" in roundupdb.py. |
| 1089 | +# The change note is now generated when the message is created. |
| 1090 | +# |
1087 | 1091 | # Revision 1.75 2001/12/04 01:25:08 richard |
1088 | 1092 | # Added some rollbacks where we were catching exceptions that would otherwise |
1089 | 1093 | # have stopped committing. |
|
0 commit comments