Subversion Repositories DevTools

Rev

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

Rev 6480 Rev 6610
Line 160... Line 160...
160
 
160
 
161
    return false;
161
    return false;
162
}
162
}
163
 
163
 
164
//  This function is invoked when the user clicks within a row
164
//  This function is invoked when the user clicks within a row
165
//  The click will re-load and reposition the verion history to the selected version
165
//  The click will re-load and reposition the version history to the selected version
166
//  The problem is that the 'Destroy Version' intercats with this.
166
//  The problem is that the 'Destroy Version' interacts with this.
-
 
167
//  Also the mailto operation interacts with this
167
//  Solution: The DestroyVersin is an image within an anchor. 
168
//  Solution: The DestroyVersion is an image within an anchor. 
168
//            If the anchor has a class of nogo, then don't navigate
169
//            If the anchor has a class of nogo, then don't navigate
169
function selectVersion(href,event)
170
function selectVersion(href,event)
170
{
171
{
171
    if (! $(event.target).closest('a').hasClass('nogo')) {
172
    if (! $(event.target).closest('a,span').hasClass('nogo')) {
172
        location.href = href;
173
        location.href = href;
173
    }
174
    }
174
}
175
}
175
 
176
 
176
//  Encode data into URL
177
//  Encode data into URL
Line 354... Line 355...
354
                    ElseIf (aVersions( rsVB.FieldIndex("dlocked"), i ) = "A") Then 
355
                    ElseIf (aVersions( rsVB.FieldIndex("dlocked"), i ) = "A") Then 
355
                        imgLock = IMG_PENDING
356
                        imgLock = IMG_PENDING
356
                    End If
357
                    End If
357
                    
358
                    
358
                    fieldRelease_Date = DisplayShortDateTime ( aVersions( rsVB.FieldIndex("modified_stamp"), i ) )
359
                    fieldRelease_Date = DisplayShortDateTime ( aVersions( rsVB.FieldIndex("modified_stamp"), i ) )
359
                    fieldReleased_By = "<a href='mailto:"& aVersions( rsVB.FieldIndex("user_email"), i ) &"' class='txt_linked'><img src='images/i_user.gif' width='10' height='13' hspace='2' border='0' align='absmiddle' alt='"& aVersions( rsVB.FieldIndex("full_name"), i ) &" &lt;"& aVersions( rsVB.FieldIndex("user_email"), i ) &"&gt;'>"& aVersions( rsVB.FieldIndex("user_name"), i ) &"</a>"
360
                    fieldReleased_By = "<span class='mailto nogo txt_linked' data-email='"& aVersions( rsVB.FieldIndex("user_email"), i ) &"'>" & enum_imgUser & aVersions( rsVB.FieldIndex("user_name"), i ) &"</span>"
360
                    
361
                    
361
                    ' Full Release Notes availability
362
                    ' Full Release Notes availability
362
                    fieldDownloadFullReleaseNotes = ""
363
                    fieldDownloadFullReleaseNotes = ""
363
                    If NOT IsNull( aVersions( rsVB.FieldIndex("release_notes_info"), i ) ) OR ( InStr( aVersions( rsVB.FieldIndex("release_notes_info"), i ), "MGS:") < 1)  Then
364
                    If NOT IsNull( aVersions( rsVB.FieldIndex("release_notes_info"), i ) ) OR ( InStr( aVersions( rsVB.FieldIndex("release_notes_info"), i ), "MGS:") < 1)  Then
364
                        fieldDownloadFullReleaseNotes = "<a href='"& HTTP_PKG_ARCHIVE & aVersions( rsVB.FieldIndex("release_notes_info"), i ) &"' target='_blank'><img src='images/i_download_small.gif' alt='Download full release notes.' width='16' height='16' hspace='2' border='0'></a>"
365
                        fieldDownloadFullReleaseNotes = "<a href='"& HTTP_PKG_ARCHIVE & aVersions( rsVB.FieldIndex("release_notes_info"), i ) &"' target='_blank'><img src='images/i_download_small.gif' alt='Download full release notes.' width='16' height='16' hspace='2' border='0'></a>"