[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0]
From: |
Antoine Farnault |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0] |
Date: |
Thu, 11 Jan 2007 16:38:25 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 07/01/11 16:38:25
Modified files:
koha-tmpl/intranet-tmpl/prog/en/catalogue: ISBDdetail.tmpl
Log message:
adding JavaScript function 'confirm_deletion'.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/ISBDdetail.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.5&r2=1.2.2.6
Patches:
Index: ISBDdetail.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/ISBDdetail.tmpl,v
retrieving revision 1.2.2.5
retrieving revision 1.2.2.6
diff -u -b -r1.2.2.5 -r1.2.2.6
--- ISBDdetail.tmpl 14 Dec 2006 17:55:26 -0000 1.2.2.5
+++ ISBDdetail.tmpl 11 Jan 2007 16:38:25 -0000 1.2.2.6
@@ -52,10 +52,18 @@
<!-- TMPL_VAR NAME="ISBD" -->
</div>
</div>
+
<script language="javascript" type="text/javascript">
function Dopop(link) {
-
newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
+
newin=window.open(link,'popup','width=500,height=400,toolbar=false,scrollbars=yes');
+}
+function confirm_deletion() {
+ var is_confirmed = confirm('Are you sure you want to delete this biblio?');
+ if (is_confirmed) {
+
window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&biblionumber=<!--
TMPL_VAR NAME="biblionumber" -->";
+ }
}
+
</script>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
- [Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/catalogue ... [rel_3_0],
Antoine Farnault <=