summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse/package.xslt2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoobrowse/package.xslt b/gentoobrowse/package.xslt
index 4f85498..2d7107f 100644
--- a/gentoobrowse/package.xslt
+++ b/gentoobrowse/package.xslt
@@ -21,6 +21,7 @@
}
document.getElementById(name).className = 'tabvisible';
}
+ <xsl:if test="count(/gentoo/project2:session/project2:var[@name='loggedInUserID']) != 0">
function track(pid)
{
xmlhttp = new XMLHttpRequest();
@@ -43,6 +44,7 @@
document.getElementById("dotrack").style.display = "inline";
}
}
+ </xsl:if>
</script>
</xsl:template>
<xsl:template name="content">