Attachment 'wikiaction.py.patch'

Download

   1 --- wikiaction.py.orig	2005-12-29 08:42:16.800620232 +0100
   2 +++ wikiaction.py	2005-12-29 09:04:45.934520704 +0100
   3 @@ -567,7 +567,10 @@
   4      if savetext is None:
   5          pg.sendEditor()
   6          return
   7 -
   8 +    # Edit was canceled
   9 +    if request.form.has_key('button_cancel'):
  10 +        pg.sendCancel(savetext or "", rev)
  11 +        return
  12      # convert input from Graphical editor
  13      if lasteditor == 'gui':
  14          from MoinMoin.converter.text_html_text_x_moin import convert
  15 @@ -579,10 +582,7 @@
  16  
  17      comment = wikiutil.clean_comment(comment)
  18  
  19 -    # Edit was canceled
  20 -    if request.form.has_key('button_cancel'):
  21 -        pg.sendCancel(savetext or "", rev)
  22 -        return
  23 +   
  24  
  25      # Add category
  26  

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2005-12-29 07:56:59, 0.7 KB) [[attachment:wikiaction.py.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.