accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject svn commit: r1700910 - /accumulo/site/trunk/content/downloads/index.mdtext
Date Wed, 02 Sep 2015 21:49:07 GMT
Author: ctubbsii
Date: Wed Sep  2 21:49:07 2015
New Revision: 1700910

URL: http://svn.apache.org/r1700910
Log:
ACCUMULO-3984 Fix mirror selection drop-down

Modified:
    accumulo/site/trunk/content/downloads/index.mdtext

Modified: accumulo/site/trunk/content/downloads/index.mdtext
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/downloads/index.mdtext?rev=1700910&r1=1700909&r2=1700910&view=diff
==============================================================================
--- accumulo/site/trunk/content/downloads/index.mdtext (original)
+++ accumulo/site/trunk/content/downloads/index.mdtext Wed Sep  2 21:49:07 2015
@@ -32,7 +32,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;
   }
@@ -60,7 +60,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) {
@@ -85,14 +85,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>
 



Mime
View raw message