Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a (harmless) javascript error that occurs when the graph is empty. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
303dd442feb8202318e6e7e09875f5c2 |
| User & Date: | drh 2011-08-07 22:52:13.967 |
Context
|
2011-08-10
| ||
| 15:54 | Change X-Frame-Options to SAMEORIGIN to give reasonable click-jacking protection without blocking some client side scripting currently in use by some fossil users. ... (check-in: b968f023a8 user: ben tags: trunk) | |
|
2011-08-07
| ||
| 22:52 | Fix a (harmless) javascript error that occurs when the graph is empty. ... (check-in: 303dd442fe user: drh tags: trunk) | |
| 10:56 | Updates to the makefile documentation. ... (check-in: ef0b48de0d user: drh tags: trunk) | |
Changes
Changes to src/timeline.c.
| ︙ | ︙ | |||
452 453 454 455 456 457 458 |
}
/*
** Generate all of the necessary javascript to generate a timeline
** graph.
*/
void timeline_output_graph_javascript(GraphContext *pGraph, int omitDescenders){
| | | 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 |
}
/*
** Generate all of the necessary javascript to generate a timeline
** graph.
*/
void timeline_output_graph_javascript(GraphContext *pGraph, int omitDescenders){
if( pGraph && pGraph->nErr==0 && pGraph->nRow>0 ){
GraphRow *pRow;
int i;
char cSep;
@ <script type="text/JavaScript">
@ /* <![CDATA[ */
/* the rowinfo[] array contains all the information needed to generate
|
| ︙ | ︙ |