Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Remove calls to gebi() in JS modules. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
652267ed30b8bbfb4619433604d67e38 |
| User & Date: | drh 2017-12-06 20:39:40.007 |
Context
|
2017-12-06
| ||
| 20:53 | Update the built-in SQLite to the latest 3.22 alpha version. ... (check-in: 63fb653a7e user: drh tags: trunk) | |
| 20:39 | Remove calls to gebi() in JS modules. ... (check-in: 652267ed30 user: drh tags: trunk) | |
| 19:09 | Make use of the new m= query parameter on /finfo when clicking on file links. ... (check-in: 3b06d2c24c user: drh tags: trunk) | |
Changes
Changes to src/graph.js.
| ︙ | ︙ | |||
314 315 316 317 318 319 320 |
}
function changeDisplayById(id,value){
var x = document.getElementById(id);
if(x) x.style.display=value;
}
function toggleDetail(){
var id = parseInt(this.getAttribute('data-id'))
| | | | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 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");
changeDisplayById("links-"+id,"inline");
}
checkHeight();
}
function scrollToSelected(){
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 |
}
}
function checkState(){
expandMap = history.state || {};
if( '*' in expandMap ) toggleAll(outer_ul, true);
for( var id in expandMap ){
| | | 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;
|
| ︙ | ︙ |