Author: [log in to unmask]
Date: Thu Feb 11 17:30:43 2016
New Revision: 4209
Log:
Use datacat anchor links instead of onclick js (which doesn't seem to want to work in a frame).
Modified:
webapps/trunk/run-webapp/src/main/webapp/showDatasets.jsp
Modified: webapps/trunk/run-webapp/src/main/webapp/showDatasets.jsp
=============================================================================
--- webapps/trunk/run-webapp/src/main/webapp/showDatasets.jsp (original)
+++ webapps/trunk/run-webapp/src/main/webapp/showDatasets.jsp Thu Feb 11 17:30:43 2016
@@ -38,14 +38,17 @@
</thead>
<tbody>
<c:forEach var="dataset" items="${datasets}">
- <tr onclick="document.location.href='<%=getServletContext().getInitParameter("datacat")%>/display/datasets/<c:out value="${dataset.path}"/>';">
+ <tr>
+ <!-- onclick="document.location.href='<%=getServletContext().getInitParameter("datacat")%>/display/datasets/<c:out value="${dataset.path}"/>';"> -->
<td>
- <c:out value="${dataset.path}" />
- <c:if test="${dataType == 'DQM'}">
+ <a href="<%=getServletContext().getInitParameter("datacat")%>/display/datasets/<c:out value="${dataset.path}"/>">
+ <c:out value="${dataset.path}" />
+ </a>
+ <c:if test="${dataType == 'DQM' && dataFormat == 'AIDA'}">
<c:forEach var="location" items="${dataset.viewInfo.locations}" begin="0" end="0">
<a target="_blank" style="font-size: 80%"
href="<%=getServletContext().getInitParameter("dqm")%>/show_plots?file=<c:out value="${location.resource}"/>">Show Plots</a>
- </c:forEach>
+ </c:forEach>
</c:if>
</td>
<td>
|