From patchwork Sat Aug 17 22:28:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [4,of,6,V2] paper: call ajaxScrollInit in shortlog From: Alexander Plavin X-Patchwork-Id: 2207 Message-Id: <0258e9b301d3d93c820e.1376778539@debian-alexander.dolgopa> To: mercurial-devel@selenic.com Date: Sun, 18 Aug 2013 02:28:59 +0400 # HG changeset patch # User Alexander Plavin # Date 1376740785 -14400 # Sat Aug 17 15:59:45 2013 +0400 # Node ID 0258e9b301d3d93c820ea640fdc3d19874d01656 # Parent 474146e53438e832a7a1b3817273569f03d25aee paper: call ajaxScrollInit in shortlog This just calls ajaxScrollInit at the shortlog page template with all needed agruments. As ajaxScrollInit function is not complete at this point, actual infinite scrolling isn't working yet. However, this allows seeing changes after next patches in action immediately. diff -r 474146e53438 -r 0258e9b301d3 mercurial/templates/paper/shortlog.tmpl --- a/mercurial/templates/paper/shortlog.tmpl Sat Aug 17 19:48:06 2013 +0400 +++ b/mercurial/templates/paper/shortlog.tmpl Sat Aug 17 15:59:45 2013 +0400 @@ -71,6 +71,18 @@ | rev {rev}: {changenav%navshort} + + diff -r 474146e53438 -r 0258e9b301d3 tests/test-hgweb-commands.t --- a/tests/test-hgweb-commands.t Sat Aug 17 19:48:06 2013 +0400 +++ b/tests/test-hgweb-commands.t Sat Aug 17 15:59:45 2013 +0400 @@ -305,6 +305,18 @@ | rev 3: (0) tip + + diff -r 474146e53438 -r 0258e9b301d3 tests/test-hgweb-empty.t --- a/tests/test-hgweb-empty.t Sat Aug 17 19:48:06 2013 +0400 +++ b/tests/test-hgweb-empty.t Sat Aug 17 15:59:45 2013 +0400 @@ -90,6 +90,18 @@ | rev -1: + + @@ -185,6 +197,18 @@ | rev -1: + +