Documentation Source Text

Check-in [5cb74ba705]
Login

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

Overview
Comment:Fix the history hyperlinks on the checklist app.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5cb74ba70579c19ce6d90d438bddab6927e4a7e707c19152c5f7a12e9f888062
User & Date: drh 2019-10-02 12:39:08
Context
2019-10-04
14:58
Add a News entry for 3.30.0. Set the release date. check-in: 0cbc8d6315 user: drh tags: trunk
2019-10-02
12:39
Fix the history hyperlinks on the checklist app. check-in: 5cb74ba705 user: drh tags: trunk
11:41
Merge branch-3.29 enhancements into trunk, and in particular the hd_adunit change. check-in: caa36aeea0 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to misc/checklist.tcl.

   365    365       }
   366    366       function historyOff(itemid){ 
   367    367         var e = document.getElementById("hist-"+itemid);
   368    368         if(e) e.parentNode.removeChild(e);
   369    369       }
   370    370       function historyOn(itemid){
   371    371         var req = new XMLHttpRequest
   372         -      req.open("GET","history?itemid="+itemid,true);
          372  +      req.open("GET","%string($base)/history?itemid="+itemid,true);
   373    373         req.onreadystatechange = function(){
   374    374           if(req.readyState!=4) return
   375    375           var lx = document.getElementById("item-"+itemid);
   376    376           var tx = document.createElement("DIV");
   377    377           tx.id = "hist-"+itemid;
   378    378           tx.style.borderWidth = 1
   379    379           tx.style.borderColor = "black"