Fossil SCM
Fix a javascript error in toggleEllipsis() in the /timeline.
Commit
4d6fda6de4205c2448f3052201077a437812593b8ff892f0579871a9cab10aa1
Parent
83bb8a867482d4f…
1 file changed
+2
-2
+2
-2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -1163,16 +1163,16 @@ | ||
| 1163 | 1163 | @ function toggleEllipsis(id){ |
| 1164 | 1164 | @ var x = gebi("ellipsis-"+id); |
| 1165 | 1165 | @ if( x.style.display=='none' ){ |
| 1166 | 1166 | @ x.style.display='inline'; |
| 1167 | 1167 | @ gebi("detail-"+id).style.display='none'; |
| 1168 | - @ x = gebi("links-"+id); | |
| 1168 | + @ x = document.getElementById("links-"+id); | |
| 1169 | 1169 | @ if(x) x.style.display='none'; |
| 1170 | 1170 | @ }else{ |
| 1171 | 1171 | @ x.style.display='none'; |
| 1172 | 1172 | @ gebi("detail-"+id).style.display='inline'; |
| 1173 | - @ x = gebi("links-"+id); | |
| 1173 | + @ x = document.getElementById("links-"+id); | |
| 1174 | 1174 | @ if(x) x.style.display='inline'; |
| 1175 | 1175 | @ } |
| 1176 | 1176 | @ checkHeight(); |
| 1177 | 1177 | @ } |
| 1178 | 1178 | @ var lastRow = gebi("m"+rowinfo[rowinfo.length-1].id); |
| 1179 | 1179 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1163,16 +1163,16 @@ | |
| 1163 | @ function toggleEllipsis(id){ |
| 1164 | @ var x = gebi("ellipsis-"+id); |
| 1165 | @ if( x.style.display=='none' ){ |
| 1166 | @ x.style.display='inline'; |
| 1167 | @ gebi("detail-"+id).style.display='none'; |
| 1168 | @ x = gebi("links-"+id); |
| 1169 | @ if(x) x.style.display='none'; |
| 1170 | @ }else{ |
| 1171 | @ x.style.display='none'; |
| 1172 | @ gebi("detail-"+id).style.display='inline'; |
| 1173 | @ x = gebi("links-"+id); |
| 1174 | @ if(x) x.style.display='inline'; |
| 1175 | @ } |
| 1176 | @ checkHeight(); |
| 1177 | @ } |
| 1178 | @ var lastRow = gebi("m"+rowinfo[rowinfo.length-1].id); |
| 1179 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -1163,16 +1163,16 @@ | |
| 1163 | @ function toggleEllipsis(id){ |
| 1164 | @ var x = gebi("ellipsis-"+id); |
| 1165 | @ if( x.style.display=='none' ){ |
| 1166 | @ x.style.display='inline'; |
| 1167 | @ gebi("detail-"+id).style.display='none'; |
| 1168 | @ x = document.getElementById("links-"+id); |
| 1169 | @ if(x) x.style.display='none'; |
| 1170 | @ }else{ |
| 1171 | @ x.style.display='none'; |
| 1172 | @ gebi("detail-"+id).style.display='inline'; |
| 1173 | @ x = document.getElementById("links-"+id); |
| 1174 | @ if(x) x.style.display='inline'; |
| 1175 | @ } |
| 1176 | @ checkHeight(); |
| 1177 | @ } |
| 1178 | @ var lastRow = gebi("m"+rowinfo[rowinfo.length-1].id); |
| 1179 |