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

Overview
Comment:Remove calls to gebi() in JS modules.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:652267ed30b8bbfb4619433604d67e3859a59cbcd1d4b2c692aac87e940bb86e
User & Date: drh 2017-12-06 20:39:40
Context
2017-12-06
20:53
Update the built-in SQLite to the latest 3.22 alpha version. check-in: 63fb653a user: drh tags: trunk
20:39
Remove calls to gebi() in JS modules. check-in: 652267ed user: drh tags: trunk
19:09
Make use of the new m= query parameter on /finfo when clicking on file links. check-in: 3b06d2c2 user: drh tags: trunk
Changes

Changes to src/graph.js.

314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
...
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
  }
  function changeDisplayById(id,value){
    var x = document.getElementById(id);
    if(x) x.style.display=value;
  }
  function toggleDetail(){
    var id = parseInt(this.getAttribute('data-id'))
    var x = gebi("detail-"+id);
    if( x.style.display=="inline" ){
      x.style.display="none";
      changeDisplayById("ellipsis-"+id,"inline");
      changeDisplayById("links-"+id,"none");
    }else{
      x.style.display="inline";
      changeDisplayById("ellipsis-"+id,"none");
................................................................................
    var x = document.getElementsByClassName('timelineSelected');
    if(x[0]){
      var h = window.innerHeight;
      var y = absoluteY(x[0]) - h/2;
      if( y>0 ) window.scrollTo(0, y);
    }
  }
  var lastRow = gebi("m"+tx.rowinfo[tx.rowinfo.length-1].id);
  var lastY = 0;
  function checkHeight(){
    var h = absoluteY(lastRow);
    if( h!=lastY ){
      renderGraph();
      lastY = h;
    }







|







 







|







314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
...
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
  }
  function changeDisplayById(id,value){
    var x = document.getElementById(id);
    if(x) x.style.display=value;
  }
  function toggleDetail(){
    var id = parseInt(this.getAttribute('data-id'))
    var x = document.getElementById("detail-"+id);
    if( x.style.display=="inline" ){
      x.style.display="none";
      changeDisplayById("ellipsis-"+id,"inline");
      changeDisplayById("links-"+id,"none");
    }else{
      x.style.display="inline";
      changeDisplayById("ellipsis-"+id,"none");
................................................................................
    var x = document.getElementsByClassName('timelineSelected');
    if(x[0]){
      var h = window.innerHeight;
      var y = absoluteY(x[0]) - h/2;
      if( y>0 ) window.scrollTo(0, y);
    }
  }
  var lastRow = document.getElementById("m"+tx.rowinfo[tx.rowinfo.length-1].id);
  var lastY = 0;
  function checkHeight(){
    var h = absoluteY(lastRow);
    if( h!=lastY ){
      renderGraph();
      lastY = h;
    }

Changes to src/tree.js.

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  }
}

function checkState(){
  expandMap = history.state || {};
  if( '*' in expandMap ) toggleAll(outer_ul, true);
  for( var id in expandMap ){
    if( id!=='*' ) toggleDir(gebi(id), true);
  }
}

function belowSubdir(node){
  do{
    node = node.parentNode;
    if( node==subdir ) return true;







|







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  }
}

function checkState(){
  expandMap = history.state || {};
  if( '*' in expandMap ) toggleAll(outer_ul, true);
  for( var id in expandMap ){
    if( id!=='*' ) toggleDir(document.getElementById(id), true);
  }
}

function belowSubdir(node){
  do{
    node = node.parentNode;
    if( node==subdir ) return true;