| Line 169... |
Line 169... |
| 169 |
{
|
169 |
{
|
| 170 |
if (! $(event.target).closest('a').hasClass('nogo')) {
|
170 |
if (! $(event.target).closest('a').hasClass('nogo')) {
|
| 171 |
location.href = href;
|
171 |
location.href = href;
|
| 172 |
}
|
172 |
}
|
| 173 |
}
|
173 |
}
|
| - |
|
174 |
// Destroy a package version
|
| - |
|
175 |
function DestroyVersion(pvid) {
|
| - |
|
176 |
MM_openVixIFrame('_destroy_package.asp?pv_id=' + pvid + '&bfile="& ScriptName &"&rtag_id="& parRtag_id &"&FLuser_name="& parFLuser_name &"&FLpkg_version="& parFLpkg_version &"&rfile="& parRfile &"&pkg_id="& parPkg_id &"&OLDpv_id="& parOLDpv_id &"','Destroy Package Version') &_
|
| - |
|
177 |
}
|
| 174 |
|
178 |
|
| 175 |
//# sourceURL=_version_browser_1.asp
|
179 |
//# sourceURL=_version_browser_1.asp
|
| 176 |
</script>
|
180 |
</script>
|
| 177 |
|
181 |
|
| 178 |
<!--------------- ACTION BUTTONS -------------------------->
|
182 |
<!--------------- ACTION BUTTONS -------------------------->
|
| Line 335... |
Line 339... |
| 335 |
|
339 |
|
| 336 |
' Set destroy package action
|
340 |
' Set destroy package action
|
| 337 |
If CanDestroyPackage Then
|
341 |
If CanDestroyPackage Then
|
| 338 |
DestroyPackage = "<a class='nogo' href='javascript:;'"&_
|
342 |
DestroyPackage = "<a class='nogo' href='javascript:;'"&_
|
| 339 |
" title='Destroy this package from the database.' "&_
|
343 |
" title='Destroy this package from the database.' "&_
|
| 340 |
" onClick=""return vixConfirm('You are about to destroy ["& sPkg_Name &" "& aVersions( rsVB.FieldIndex("pkg_version"), i ) &"].<p>You cannot undo this operation.<br>Do you want to proceed?', {button : 'Destroy', url : '_destroy_package.asp?pv_id="& aVersions( rsVB.FieldIndex("pv_id"), i ) &"&bfile="& ScriptName &"&rtag_id="& parRtag_id &"&FLuser_name="& parFLuser_name &"&FLpkg_version="& parFLpkg_version &"&rfile="& parRfile &"&pkg_id="& parPkg_id &"&OLDpv_id="& parOLDpv_id &"'});"" >" &_
|
344 |
" onClick=DestroyVersion("& aVersions( rsVB.FieldIndex("pv_id"), i ) &")>" &_
|
| 341 |
" <img src='icons/i_destroy_package_sml.gif' width='15' height='15' border='0' ><a>"
|
345 |
" <img src='icons/i_destroy_package_sml.gif' width='15' height='15' border='0' ><a>"
|
| 342 |
Else
|
346 |
Else
|
| 343 |
DestroyPackage = ""
|
347 |
DestroyPackage = ""
|
| 344 |
End If
|
348 |
End If
|
| 345 |
%>
|
349 |
%>
|