Fossil SCM

Backout [e6d3e878a9]: Clicking on timeline nodes for displaying a diff doesn't work any more with this change (Sorry, Stefan!).

jan.nijtmans 2014-03-13 13:17 trunk
Commit afcdc6ce81fb86302821bd7438840fc6f672f7ff
1 file changed +3 -3
+3 -3
--- src/timeline.c
+++ src/timeline.c
@@ -592,11 +592,11 @@
592592
if( pGraph && pGraph->nErr==0 && pGraph->nRow>0 ){
593593
GraphRow *pRow;
594594
int i;
595595
char cSep;
596596
597
- @ <script type='text/javascript'>(function(){
597
+ @ <script>
598598
@ var railPitch=%d(pGraph->iRailPitch);
599599
600600
/* the rowinfo[] array contains all the information needed to generate
601601
** the graph. Each entry contains information for a single row:
602602
**
@@ -868,14 +868,14 @@
868868
@ var h = absoluteY(lastId);
869869
@ if( h!=lastY ){
870870
@ renderGraph();
871871
@ lastY = h;
872872
@ }
873
- @ setTimeout(arguments.callee, 1000);
873
+ @ setTimeout("checkHeight();", 1000);
874874
@ }
875875
@ checkHeight();
876
- @ })()</script>
876
+ @ </script>
877877
}
878878
}
879879
880880
/*
881881
** Create a temporary table suitable for storing timeline data.
882882
--- src/timeline.c
+++ src/timeline.c
@@ -592,11 +592,11 @@
592 if( pGraph && pGraph->nErr==0 && pGraph->nRow>0 ){
593 GraphRow *pRow;
594 int i;
595 char cSep;
596
597 @ <script type='text/javascript'>(function(){
598 @ var railPitch=%d(pGraph->iRailPitch);
599
600 /* the rowinfo[] array contains all the information needed to generate
601 ** the graph. Each entry contains information for a single row:
602 **
@@ -868,14 +868,14 @@
868 @ var h = absoluteY(lastId);
869 @ if( h!=lastY ){
870 @ renderGraph();
871 @ lastY = h;
872 @ }
873 @ setTimeout(arguments.callee, 1000);
874 @ }
875 @ checkHeight();
876 @ })()</script>
877 }
878 }
879
880 /*
881 ** Create a temporary table suitable for storing timeline data.
882
--- src/timeline.c
+++ src/timeline.c
@@ -592,11 +592,11 @@
592 if( pGraph && pGraph->nErr==0 && pGraph->nRow>0 ){
593 GraphRow *pRow;
594 int i;
595 char cSep;
596
597 @ <script>
598 @ var railPitch=%d(pGraph->iRailPitch);
599
600 /* the rowinfo[] array contains all the information needed to generate
601 ** the graph. Each entry contains information for a single row:
602 **
@@ -868,14 +868,14 @@
868 @ var h = absoluteY(lastId);
869 @ if( h!=lastY ){
870 @ renderGraph();
871 @ lastY = h;
872 @ }
873 @ setTimeout("checkHeight();", 1000);
874 @ }
875 @ checkHeight();
876 @ </script>
877 }
878 }
879
880 /*
881 ** Create a temporary table suitable for storing timeline data.
882

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button