tests/test-hgweb-commands.t
changeset 19781 74564c90026b
parent 19768 186f54d40fdd
child 19795 ac08ff370977
equal deleted inserted replaced
19780:659bc603bd0d 19781:74564c90026b
   305   | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> 
   305   | rev 3: <a href="/shortlog/2ef0ac749a14">(0)</a> <a href="/shortlog/tip">tip</a> 
   306   </div>
   306   </div>
   307   
   307   
   308   <script type="text/javascript">
   308   <script type="text/javascript">
   309       ajaxScrollInit(
   309       ajaxScrollInit(
   310               '/shortlog/%hash%',
   310               '/shortlog/%next%',
   311               '', <!-- NEXTHASH
   311               '', <!-- NEXTHASH
   312               /'(\w+)', <!-- NEXTHASH/,
   312               function (htmlText, previousVal) {
       
   313                   var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
       
   314                   return m ? m[1] : null;
       
   315               },
   313               '.bigtable > tbody:nth-of-type(2)',
   316               '.bigtable > tbody:nth-of-type(2)',
   314               '<tr class="%class%">\
   317               '<tr class="%class%">\
   315               <td colspan="3" style="text-align: center;">%text%</td>\
   318               <td colspan="3" style="text-align: center;">%text%</td>\
   316               </tr>'
   319               </tr>'
   317       );
   320       );