Version 0 of Wikit web Cancel button

Updated 2003-09-01 21:02:57

This page describes a modification to Wiki to add a Cancel button to the web editing page.

The patch is against Wikit version: 2003/08/20 19:06:22 68261-69214

Patch


 239c239,243
 <       SavePage $N $C $host $name
 ---
 >       cgi_import_as Action editAction
 >       # Only actually save the page if the user selected "Save"
 >       if {$editAction == "Save"} {
 >           SavePage $N $C $host $name
 >       }
 351c355,358
 <             submit_button "=  Save  "
 ---
 >             # Create Save and Cancel buttons
 >             submit_button "Action=Save"
 >             cgi_puts " [nbspace] "
 >             submit_button "Action=Cancel"