[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/catalogue MARCdetail.tmpl,1.30.2.8,1.30.2.9
Owen Leonard
oleonard at users.sourceforge.net
Thu Aug 25 19:27:51 CEST 2005
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11456/koha-tmpl/intranet-tmpl/default/en/catalogue
Modified Files:
Tag: rel_2_2
MARCdetail.tmpl
Log Message:
Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
Index: MARCdetail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/catalogue/MARCdetail.tmpl,v
retrieving revision 1.30.2.8
retrieving revision 1.30.2.9
diff -C2 -r1.30.2.8 -r1.30.2.9
*** MARCdetail.tmpl 25 May 2005 09:34:40 -0000 1.30.2.8
--- MARCdetail.tmpl 25 Aug 2005 17:27:49 -0000 1.30.2.9
***************
*** 409,413 ****
}
function Addbiblio(op) {
! var fwk = document.forms[0].Frameworks.options[document.forms[0].Frameworks.selectedIndex].value;
window.location = "acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode="+fwk+"&op="+op;
}
--- 409,413 ----
}
function Addbiblio(op) {
! var fwk = document.forms['f'].Frameworks.options[document.forms['f'].Frameworks.selectedIndex].value;
window.location = "acqui.simple/addbiblio.pl?oldbiblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode="+fwk+"&op="+op;
}
More information about the Koha-cvs
mailing list