Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | A simple tweak to the graph javascript gets it working on IE6. Ticket [a734fe24da8f75758cf] |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e0eceb7892852e82154d70fb0e4d8392 |
| User & Date: | drh 2010-11-12 15:17:56.000 |
References
|
2010-11-15
| ||
| 18:52 | • New ticket [5c7565d157] check in [e0eceb7892] breaks graph on file history page. ... (artifact: ba4df75f2d user: anonymous) | |
|
2010-11-13
| ||
| 11:04 | • New ticket [929dd38716] NOWIKI tag has no effect. ... (artifact: a66085dd71 user: stephan) | |
Context
|
2010-11-12
| ||
| 16:37 | Incorporate the "addremove" command (with edits) from the StvPrivateHook2 branch. ... (check-in: ceab53718f user: drh tags: trunk) | |
| 15:17 | A simple tweak to the graph javascript gets it working on IE6. Ticket [a734fe24da8f75758cf] ... (check-in: e0eceb7892 user: drh tags: trunk) | |
| 00:24 | Added documentation on ways to identify a check-in. ... (check-in: aaf8cfa296 user: drh tags: trunk) | |
Changes
Changes to src/timeline.c.
| ︙ | ︙ | |||
194 195 196 197 198 199 200 |
pGraph = graph_init();
/* style is not moved to css, because this is
** a technical div for the timeline graph
*/
@ <div id="canvas" style="position:relative;width:1px;height:1px;"></div>
}
| | | 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
pGraph = graph_init();
/* style is not moved to css, because this is
** a technical div for the timeline graph
*/
@ <div id="canvas" style="position:relative;width:1px;height:1px;"></div>
}
@ <table id="timelineTable" class="timelineTable">
blob_zero(&comment);
while( db_step(pQuery)==SQLITE_ROW ){
int rid = db_column_int(pQuery, 0);
const char *zUuid = db_column_text(pQuery, 1);
int isLeaf = db_column_int(pQuery, 5);
const char *zBgClr = db_column_text(pQuery, 6);
const char *zDate = db_column_text(pQuery, 2);
|
| ︙ | ︙ | |||
486 487 488 489 490 491 492 |
@ }
@ }
@ function renderGraph(){
@ var canvasDiv = document.getElementById("canvas");
@ while( canvasDiv.hasChildNodes() ){
@ canvasDiv.removeChild(canvasDiv.firstChild);
@ }
| | | 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 |
@ }
@ }
@ function renderGraph(){
@ var canvasDiv = document.getElementById("canvas");
@ while( canvasDiv.hasChildNodes() ){
@ canvasDiv.removeChild(canvasDiv.firstChild);
@ }
@ var canvasY = absoluteY("timelineTable");
@ var left = absoluteX(rowinfo[0].id) - absoluteX("canvas") + 15;
@ var width = nrail*20;
@ for(var i in rowinfo){
@ rowinfo[i].y = absoluteY(rowinfo[i].id) + 10 - canvasY;
@ rowinfo[i].x = left + rowinfo[i].r*20;
@ }
@ var btm = absoluteY("grbtm") + 10 - canvasY;
|
| ︙ | ︙ |