Author: buildbot Date: Wed Sep 2 21:49:16 2015 New Revision: 964092 Log: Staging update by buildbot for accumulo
Modified: websites/staging/accumulo/trunk/content/ (props changed) websites/staging/accumulo/trunk/content/downloads/index.html Propchange: websites/staging/accumulo/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Wed Sep 2 21:49:16 2015 @@ -1 +1 @@ -1700865 +1700910 Modified: websites/staging/accumulo/trunk/content/downloads/index.html ============================================================================== --- websites/staging/accumulo/trunk/content/downloads/index.html (original) +++ websites/staging/accumulo/trunk/content/downloads/index.html Wed Sep 2 21:49:16 2015 @@ -238,7 +238,7 @@ var gaCallback = function(event) { ga('send', 'event', 'outbound', 'click', url, {'nonInteraction': 1}); return true; } else { - ga('send', 'event', 'outbound', 'click', url, {'hitCallback': + ga('send', 'event', 'outbound', 'click', url, {'hitCallback': function () {window.location.href = hrefUrl;}}, {'nonInteraction': 1}); return false; } @@ -266,7 +266,7 @@ var createSection = function(name, items var updateLinks = function(mirror) { $('a[link-suffix]').each(function(i, obj) { $(obj).attr('href', mirror.replace(/\/+$/, "") + $(obj).attr('link-suffix')); - }); + }); }; var mirrorsCallback = function(json) { @@ -291,14 +291,14 @@ var mirrorsCallback = function(json) { var mirror=target.text(); updateLinks(mirror); target.closest('.btn-group').find('[data-bind="label"]').text(mirror).end(); - }); + }); updateLinks(json.preferred); }; // get mirrors when page is ready -var mirrorURL = "http://www.apache.org/dyn/closer.lua"; -$(function() { $.getJSON(mirrorURL + "?as_json", mirrorsCallback); }); +var mirrorURL = "/mirrors.cgi"; // http[s]://accumulo.apache.org/mirrors.cgi +$(function() { $.getJSON(mirrorURL + "?as_json", mirrorsCallback); }); </script>