Missing javascript caused delete to fail

This commit is contained in:
oleonard 2006-04-10 18:06:27 +00:00
parent 26f28ebc72
commit d97cd269aa
1 changed files with 8 additions and 0 deletions

View File

@ -110,4 +110,12 @@ name="url"></a><br>
<!-- /TMPL_IF -->
</div>
<script language="JavaScript" type="text/javascript">
function confirm_deletion() {
var is_confirmed = confirm('Are you sure you want to delete this record and all the attached items?');
if (is_confirmed) {
window.location="acqui.simple/addbiblio.pl?op=delete&amp;bibid=<!-- TMPL_VAR NAME="bibid" -->";
}
}
</script>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->