Documentation Source Text

Check-in [9d872b74d9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix the checklist editing function on the checklist application so that it works correctly with Fossil CGI.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9d872b74d98bfa35b189926c2e5864ef989a645413ce71288f1424d83d73ede5
User & Date: drh 2019-08-01 16:36:12.389
Context
2019-08-01
16:46
Update the /env method of the checklist application to work better with the latest version of Wapp for CGI. (check-in: b1400ebb42 user: drh tags: trunk)
16:36
Fix the checklist editing function on the checklist application so that it works correctly with Fossil CGI. (check-in: 9d872b74d9 user: drh tags: trunk)
02:44
Update the change log. (check-in: 6ec9f2a9c8 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to misc/checklist.tcl.
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
  }
  set cklist [string trim [wapp-param cklist]]
  if {$cklist!=""} {
    checklist-rebuild-from-text $cklist
  }
  set x [checklist-as-text]
  wapp-trim {
    <form method="POST" action="cklistedit">
    <p>Edit checklist: <input type="submit" value="Install"><br>
    <textarea name="cklist" rows="40" cols="120">%html($x)</textarea>
    <br><input type="submit" value="Install">
    </form>
    </p>
  }
  catch {db eval COMMIT}







|







669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
  }
  set cklist [string trim [wapp-param cklist]]
  if {$cklist!=""} {
    checklist-rebuild-from-text $cklist
  }
  set x [checklist-as-text]
  wapp-trim {
    <form method="POST">
    <p>Edit checklist: <input type="submit" value="Install"><br>
    <textarea name="cklist" rows="40" cols="120">%html($x)</textarea>
    <br><input type="submit" value="Install">
    </form>
    </p>
  }
  catch {db eval COMMIT}