Missing javascript caused delete to fail
This commit is contained in:
parent
26f28ebc72
commit
d97cd269aa
|
|
@ -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&bibid=<!-- TMPL_VAR NAME="bibid" -->";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue