Subversion Repositories DevTools

Rev

Rev 6790 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6790 Rev 7055
Line 70... Line 70...
70
   End If
70
   End If
71
End If
71
End If
72
%>
72
%>
73
<script language="javascript">
73
<script language="javascript">
74
<!--
74
<!--
-
 
75
// Remove the selection so that if the users goes back to this page it will display correctly.
-
 
76
window.addEventListener("beforeunload", function() {
-
 
77
    var el = document.getElementById('selUsageMode');
-
 
78
    el.selectedIndex = 0;
-
 
79
});
-
 
80
 
75
function checkUncheckAll(theElement) {
81
function checkUncheckAll(theElement) {
76
   var theForm = theElement.form, z = 0;
82
   var theForm = theElement.form, z = 0;
77
   for(z=0; z<theForm.length;z++){
83
   for(z=0; z<theForm.length;z++){
78
      if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall' && theForm[z].disabled != true){
84
      if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall' && theForm[z].disabled != true){
79
         theForm[z].checked = theElement.checked;
85
         theForm[z].checked = theElement.checked;
Line 215... Line 221...
215
    '-- FROM END ----------------------------------------------------------------------------------------------------------------
221
    '-- FROM END ----------------------------------------------------------------------------------------------------------------
216
    %>
222
    %>
217
    <!-- Extended Searching ---------------------------------------->
223
    <!-- Extended Searching ---------------------------------------->
218
    <br>
224
    <br>
219
    <span class=body_txt>Extended Package Usage</span>
225
    <span class=body_txt>Extended Package Usage</span>
220
    <select class=body_txt onChange="showUsedBy(this);">
226
    <select id=selUsageMode class=body_txt onChange="showUsedBy(this);">
221
        <option value ="">Select one</option>
227
        <option value ="">Select one</option>
222
 
228
 
223
        <option disabled="disabled">Projects</option>
229
        <option disabled="disabled">Projects</option>
224
        <option value='RequestUsedByThisProjectSummary.asp?pv_id=<%=parPv_id%>&mode=2'>Projects that use: (<%=pkgInfoHash.Item("pkg_name")%>&nbsp;<%=pkgInfoHash.Item("pkg_version")%>)</option>
230
        <option value='RequestUsedByThisProjectSummary.asp?pv_id=<%=parPv_id%>&mode=2'>Projects that use: (<%=pkgInfoHash.Item("pkg_name")%>&nbsp;<%=pkgInfoHash.Item("pkg_version")%>)</option>
225
        <option value='RequestUsedByThisProjectSummary.asp?pv_id=<%=parPv_id%>&mode=1'>Projects that use: (<%=pkgInfoHash.Item("pkg_name")%><%=pkgInfoHash.Item("v_ext")%>)</option>
231
        <option value='RequestUsedByThisProjectSummary.asp?pv_id=<%=parPv_id%>&mode=1'>Projects that use: (<%=pkgInfoHash.Item("pkg_name")%><%=pkgInfoHash.Item("v_ext")%>)</option>