##// END OF EJS Templates
hgweb: adopt child nodes in ajaxScrollInit on /graph pages too...
hgweb: adopt child nodes in ajaxScrollInit on /graph pages too ajaxScrollInit is a function that loads more elements (e.g. changelog entries) when browser window is scrolled down to the bottom of the page. It basically fetches the next page from the server as HTML, finds container element in that document and "adopts" (essentially, moves) all its child nodes to the container in the current document. Currently, hgweb doesn't render any changesets on /graph page (everything is done in JavaScript), so there are no children to adopt. But there will be soon, so let's create a reusable function that does it. Hardcoding #graphnodes selector is suboptimal, but graph code already does this in two other places.
av6 -
r35217:fcc96cf0 default
Show More
Name Size Modified Last Commit Author
/ contrib / plan9 / hgrc.d
9diff.rc Loading ...
9mail.rc Loading ...
factotum.rc Loading ...