You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bu...@apache.org on 2014/10/14 17:24:47 UTC
svn commit: r925751 - in /websites/staging/accumulo/trunk/content: ./
downloads/index.html
Author: buildbot
Date: Tue Oct 14 15:24:46 2014
New Revision: 925751
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 Tue Oct 14 15:24:46 2014
@@ -1 +1 @@
-1631781
+1631787
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 Tue Oct 14 15:24:46 2014
@@ -198,28 +198,20 @@ Latest 1.5 release: <strong>1.5.1</stron
* This function takes a valid URL string as an argument, and uses that URL string
* as the event label.
*/
-var trackOutboundLink = function(url) {
- var hrefUrl = this.target.getAttribute('href')
+$('.download_tarball').click(function(event) {
+ var hrefUrl = event.target.getAttribute('href')
if (event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2) {
var newWin = true;}
if (newWin) {
- ga('send', 'event', 'outbound', 'click', url, {'nonInteraction': 1});
+ ga('send', 'event', 'outbound', 'click', $(this).id, {'nonInteraction': 1});
return true;
} else {
- ga('send', 'event', 'outbound', 'click', url, {'hitCallback':
+ ga('send', 'event', 'outbound', 'click', $(this).id, {'hitCallback':
function () {window.location.href = hrefUrl;}}, {'nonInteraction': 1});
return false;
}
-};
-/* original GA code
-var trackOutboundLink = function(url) {
- ga('send', 'event', 'outbound', 'click', url, {'hitCallback':
- function () {
- document.location = url;
- }
- });
-}*/
+});
var createSection = function(name, items, divider) {
var section = '';
@@ -285,7 +277,7 @@ $(function() { $.getJSON(mirrorURL + "?a
<table class="table">
<tr>
<th>Generic Binaries</th>
-<td><a href="https://www.apache.org/dyn/closer.cgi/accumulo/1.6.1/accumulo-1.6.1-bin.tar.gz" link-suffix="/accumulo/1.6.1/accumulo-1.6.1-bin.tar.gz" onClick="return trackOutboundLink('/downloads/accumulo-1.6.1-bin.tar.gz');">accumulo-1.6.1-bin.tar.gz</a></td>
+<td><a href="https://www.apache.org/dyn/closer.cgi/accumulo/1.6.1/accumulo-1.6.1-bin.tar.gz" link-suffix="/accumulo/1.6.1/accumulo-1.6.1-bin.tar.gz" class="download_tarball" id="/downloads/accumulo-1.6.1-bin.tar.gz">accumulo-1.6.1-bin.tar.gz</a></td>
<td><a href="https://www.apache.org/dist/accumulo/1.6.1/accumulo-1.6.1-bin.tar.gz.asc">ASC</a></td>
</tr>
<tr>