Changeset 5069 for trunk/www/views/experiments/view_experiment.jsp
- Timestamp:
- Aug 20, 2009, 10:53:16 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/views/experiments/view_experiment.jsp
r4889 r5069 54 54 import="net.sf.basedb.clients.web.Base" 55 55 import="net.sf.basedb.clients.web.PermissionUtil" 56 import="net.sf.basedb.clients.web.ChangeHistoryUtil" 56 57 import="net.sf.basedb.clients.web.util.HTML" 57 58 import="net.sf.basedb.util.Values" … … 166 167 { 167 168 if (TabControl.isActive(tabControlId, tabId)) return; 168 if ( tabId == 'overview'&& tabId != '<%=tab%>')169 if ((tabId == 'overview' || tabId == 'history') && tabId != '<%=tab%>') 169 170 { 170 171 location.href = 'index.jsp?ID=<%=ID%>&cmd=ViewItem&item_id=<%=itemId%>&tab='+tabId; … … 802 803 %> 803 804 </t:tab> 805 <t:tab id="history" title="Change history" 806 tooltip="Displays a log of all modifications made to this item" 807 visible="<%=ChangeHistoryUtil.showChangeHistoryTab(sc)%>"> 808 <% 809 if ("history".equals(tab)) 810 { 811 %> 812 <jsp:include page="../../common/history/frameset.jsp"> 813 <jsp:param name="source_type" value="<%=itemType.name()%>" /> 814 <jsp:param name="source_id" value="<%=itemId%>" /> 815 <jsp:param name="ID" value="<%=ID%>" /> 816 </jsp:include> 817 <% 818 } 819 %> 820 </t:tab> 804 821 </t:tabcontrol> 805 822
Note: See TracChangeset
for help on using the changeset viewer.