changeset 1891:76040d9ab344

AttachFile: clear rename for form after upload
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 18 Mar 2007 11:41:42 +0100
parents 41f50553dc70
children d367d585c837
files MoinMoin/action/AttachFile.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Sun Mar 18 00:03:18 2007 +0100
+++ b/MoinMoin/action/AttachFile.py	Sun Mar 18 11:41:42 2007 +0100
@@ -631,6 +631,8 @@
     # can't access the client filename
     if rename:
         target = rename
+        # clear rename its only once wanted
+        request.form['rename'][0] = u''
     elif filename:
         target = filename
     else: