mercurial/templates/paper/graph.tmpl
changeset 19783 1c2a309bba4f
parent 19453 ece3b329ad25
child 19795 ac08ff370977
--- a/mercurial/templates/paper/graph.tmpl	Fri Sep 20 00:42:13 2013 +0400
+++ b/mercurial/templates/paper/graph.tmpl	Sun Sep 22 14:19:57 2013 +0400
@@ -123,6 +123,17 @@
 | rev {rev}: {changenav%navgraph}
 </div>
 
+<script type="text/javascript">
+    ajaxScrollInit(
+            '{url|urlescape}graph/{rev}?revcount=%next%',
+            {revcount}+60,
+            function (htmlText, previousVal) \{ return previousVal + 60; },
+            '#wrapper',
+            '<div class="%class%" style="text-align: center;">%text%</div>',
+            'graph'
+    );
+</script>
+
 </div>
 </div>