Mercurial > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 20253:43cfad930d38
hgweb: avoid invalid infinity scroll request when overwritten web.style
Infinity scroll is broken when you override the web.style in the following ways:
$ hg --config='web.style=gitweb' serve
$ open http://localhost:8080/shortlog?style=paper
ajaxScrollInit should use http://localhost:8080/shortlog/%next%?style=paper.
however, http://localhost:8080/shortlog/%next% is used actually.
It is missing style parameter.
This patch add style parameter to request url.
author | Takumi IINO <trot.thunder@gmail.com> |
---|---|
date | Wed, 08 Jan 2014 00:35:03 +0900 |
parents | 507919a34c5b |
children | 49f2d5644f04 |
line wrap: on
line diff