--- a/mercurial/templates/gitweb/graph.tmpl Mon Dec 11 13:47:58 2017 +0800
+++ b/mercurial/templates/gitweb/graph.tmpl Mon Dec 11 15:43:56 2017 +0800
@@ -67,9 +67,12 @@
<script type="text/javascript"{if(nonce, ' nonce="{nonce}"')}>
ajaxScrollInit(
- '{url|urlescape}graph/{rev}?revcount=%next%&style={style}',
- {revcount}+60,
- function (htmlText, previousVal) \{ return previousVal + 60; },
+ '{url|urlescape}graph/%next%{graphvars%urlparameter}',
+ '{nextentry%"{node}"}', <!-- NEXTHASH
+ function (htmlText, previousVal) \{
+ var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
+ return m ? m[1] : null;
+ },
'#wrapper',
'<div class="%class%" style="text-align: center;">%text%</div>',
'graph'