| | @@ -306,10 +306,11 @@ |
| 306 | 306 | const char *zBr = 0; /* Branch */ |
| 307 | 307 | int commentColumn = 3; /* Column containing comment text */ |
| 308 | 308 | int modPending; /* Pending moderation */ |
| 309 | 309 | char *zDateLink; /* URL for the link on the timestamp */ |
| 310 | 310 | int drawDetailEllipsis; /* True to show ellipsis in place of detail */ |
| 311 | + int gidx = 0; /* Graph row identifier */ |
| 311 | 312 | char zTime[20]; |
| 312 | 313 | |
| 313 | 314 | if( zDate==0 ){ |
| 314 | 315 | zDate = "YYYY-MM-DD HH:MM:SS"; /* Something wrong with the repo */ |
| 315 | 316 | } |
| | @@ -418,11 +419,10 @@ |
| 418 | 419 | } |
| 419 | 420 | } |
| 420 | 421 | if( zType[0]=='c' && (pGraph || (tmFlags & TIMELINE_BRCOLOR)!=0) ){ |
| 421 | 422 | int nParent = 0; |
| 422 | 423 | int aParent[GR_MAX_RAIL]; |
| 423 | | - int gidx; |
| 424 | 424 | static Stmt qparent; |
| 425 | 425 | db_static_prepare(&qparent, |
| 426 | 426 | "SELECT pid FROM plink" |
| 427 | 427 | " WHERE cid=:rid AND pid NOT IN phantom" |
| 428 | 428 | " ORDER BY isprim DESC /*sort*/" |
| | @@ -437,12 +437,11 @@ |
| 437 | 437 | db_reset(&qbranch); |
| 438 | 438 | @ <div id="m%d(gidx)" class="tl-nodemark"></div> |
| 439 | 439 | } |
| 440 | 440 | @</td> |
| 441 | 441 | if( zBgClr && zBgClr[0] && rid!=selectedRid ){ |
| 442 | | - @ <td class="timeline%s(zStyle)Cell" \ |
| 443 | | - @ style="background-color: %h(zBgClr);"> |
| 442 | + @ <td class="timeline%s(zStyle)Cell" id='mc%d(gidx)'> |
| 444 | 443 | }else{ |
| 445 | 444 | @ <td class="timeline%s(zStyle)Cell"> |
| 446 | 445 | } |
| 447 | 446 | if( pGraph && zType[0]!='c' ){ |
| 448 | 447 | @ • |
| | @@ -533,11 +532,11 @@ |
| 533 | 532 | @ <span class='timelineEllipsis' id='ellipsis-%d(rid)'\ |
| 534 | 533 | @ data-id='%d(rid)'>...</span> |
| 535 | 534 | } |
| 536 | 535 | if( tmFlags & TIMELINE_COLUMNAR ){ |
| 537 | 536 | if( zBgClr && zBgClr[0] && rid!=selectedRid ){ |
| 538 | | - @ <td class="timelineDetailCell" style="background-color: %h(zBgClr);"> |
| 537 | + @ <td class="timelineDetailCell" id='md%d(gidx)'> |
| 539 | 538 | }else{ |
| 540 | 539 | @ <td class="timelineDetailCell"> |
| 541 | 540 | } |
| 542 | 541 | } |
| 543 | 542 | if( tmFlags & TIMELINE_COMPACT ){ |
| 544 | 543 | |