  		<j:set var="rangeParameters" value="start=${start}&amp;end=${end+1}"/>
  		<script type="text/javascript">
  			function setCount() {
+diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js
+index f4abe0b..7b74dda 100644
 --- a/war/src/main/webapp/scripts/hudson-behavior.js
 +++ b/war/src/main/webapp/scripts/hudson-behavior.js
 @@ -2308,12 +2308,69 @@ function loadScript(href,callback) {

Origin: Upstream, commits fb73bac50f22526a3d3b...43ff1688eee6ea
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688298

--- a/core/src/main/java/hudson/model/DownloadService.java
+++ b/core/src/main/java/hudson/model/DownloadService.java
@@ -61,7 +61,8 @@ public class DownloadService extends Pag
      */
     public String generateFragment() {
     	if (neverUpdate) return "";

         StringBuilder buf = new StringBuilder();
         if(Jenkins.getInstance().hasPermission(Jenkins.READ)) {
             long now = System.currentTimeMillis();
@@ -88,6 +91,23 @@ public class DownloadService extends PageDecorator {
         return buf.toString();
     }
 
