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 Unified Diffs Show Whitespace Changes Patch

Changes to misc/checklist.tcl.

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







|







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