[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple add
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple additem.tmpl,1.11,1.12 |
Date: |
Mon, 24 Nov 2003 08:28:51 -0800 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple
In directory
sc8-pr-cvs1:/tmp/cvs-serv23449/koha-tmpl/intranet-tmpl/default/en/acqui.simple
Modified Files:
additem.tmpl
Log Message:
biblio & item deletion now works fine in MARC editor.
Stores deleted biblio/item in the marc field of the deletedbiblio/deleteditem
table.
Index: additem.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple/additem.tmpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** additem.tmpl 4 Sep 2003 13:04:12 -0000 1.11
--- additem.tmpl 24 Nov 2003 16:28:49 -0000 1.12
***************
*** 39,43 ****
<tr>
<TMPL_VAR name="item_value">
! <td><a href="additem.pl?op=edititem&bibid=<TMPL_VAR
name="bibid">&itemnum=<TMPL_VAR name="itemnum">">Edit</a></td>
</tr>
</TMPL_LOOP>
--- 39,44 ----
<tr>
<TMPL_VAR name="item_value">
! <td><a href="additem.pl?op=edititem&bibid=<TMPL_VAR
name="bibid">&itemnum=<TMPL_VAR name="itemnum">"><img src="<TMPL_VAR
name="interface">/<TMPL_VAR name="theme">/images/fileopen.png"
border=0></a></td>
! <td><a href="javascript:confirm_deletion(<TMPL_VAR
name="bibid">,<TMPL_VAR name="itemnum">)"><img src="<TMPL_VAR
name="interface">/<TMPL_VAR name="theme">/images/edittrash.png"
border=0></a></td>
</tr>
</TMPL_LOOP>
***************
*** 121,124 ****
--- 122,131 ----
defaultvalue=document.forms[0].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value
builder",'width=500,height=400,toolbar=false,scrollbars=yes');
+ }
+ function confirm_deletion(bibid,itemnum) {
+ var is_confirmed = confirm('Do you confirm item deletion ?');
+ if (is_confirmed) {
+ window.location =
"additem.pl?op=delitem&bibid="+bibid+"&itemnum="+itemnum;
+ }
}
</script>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple additem.tmpl,1.11,1.12,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/C4 Catalogue.pm,1.35,1.36
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple addbiblio.tmpl,1.9,1.10 additem.tmpl,1.4,1.5
- Previous by thread:
[Koha-cvs] CVS: koha/C4 Catalogue.pm,1.35,1.36
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple addbiblio.tmpl,1.9,1.10 additem.tmpl,1.4,1.5
- Index(es):