accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r925748 - in /websites/staging/accumulo/trunk/content: ./ downloads/index.html
Date Tue, 14 Oct 2014 15:01:57 GMT
Author: buildbot
Date: Tue Oct 14 15:01:57 2014
New Revision: 925748

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:01:57 2014
@@ -1 +1 @@
-1629249
+1631778

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:01:57 2014
@@ -198,6 +198,7 @@ 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.
 */
+/* the event variable doesn't exist -- not sure how this worked before
 var trackOutboundLink = function(url) {
   var hrefUrl = event.target.getAttribute('href')
   if (event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2) {
@@ -211,7 +212,14 @@ var trackOutboundLink = function(url) {
     function () {window.location.href = hrefUrl;}}, {'nonInteraction': 1});
     return false;
   }
-};
+};*/
+var trackOutboundLink = function(url) {
+   ga('send', 'event', 'outbound', 'click', url, {'hitCallback':
+     function () {
+     document.location = url;
+     }
+   });
+}
 
 var createSection = function(name, items, divider) {
   var section = '';



Mime
View raw message