[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/authorities auth
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities authorities.tmpl,1.6.2.3,1.6.2.4 |
Date: |
Thu, 25 Aug 2005 11:07:21 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21956/koha-tmpl/intranet-tmpl/default/en/authorities
Modified Files:
Tag: rel_2_2
authorities.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: authorities.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/authorities/authorities.tmpl,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.4
diff -C2 -r1.6.2.3 -r1.6.2.4
*** authorities.tmpl 30 May 2005 11:56:42 -0000 1.6.2.3
--- authorities.tmpl 25 Aug 2005 18:07:19 -0000 1.6.2.4
***************
*** 155,159 ****
}
function Dopop(link,i) {
! defaultvalue=document.forms[0].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
}
--- 155,159 ----
}
function Dopop(link,i) {
! defaultvalue=document.forms['f'].field_value[i].value;
newin=window.open(link+"&result="+defaultvalue,"value
builder",'width=550,height=550,toolbar=false,scrollbars=yes');
}
***************
*** 161,176 ****
function PopupZ3950() {
var strQuery="";
! for (i=0 ; i<document.forms[0].field_value.length ; i++) {
! if (document.forms[0].kohafield[i].value == "biblioitems.isbn"
&& document.forms[0].field_value[i].value.length>0) {
! strQuery += "&isbn="+document.forms[0].field_value[i].value;
}
! if (document.forms[0].kohafield[i].value == "biblio.title" &&
document.forms[0].field_value[i].value.length>0) {
! strQuery +=
"&title="+document.forms[0].field_value[i].value;
}
! if (document.forms[0].kohafield[i].value == "biblio.author"
&&document.forms[0].field_value[i].value.length>0) {
! strQuery +=
"&author="+document.forms[0].field_value[i].value;
}
! if (document.forms[0].kohafield[i].value == "biblioitems.issn"
&& document.forms[0].field_value[i].value.length>0) {
! strQuery += "&issn="+document.forms[0].field_value[i].value;
}
}
--- 161,176 ----
function PopupZ3950() {
var strQuery="";
! for (i=0 ; i<document.forms['f'].field_value.length ; i++) {
! if (document.forms['f'].kohafield[i].value ==
"biblioitems.isbn" && document.forms['f'].field_value[i].value.length>0) {
! strQuery +=
"&isbn="+document.forms['f'].field_value[i].value;
}
! if (document.forms['f'].kohafield[i].value == "biblio.title" &&
document.forms['f'].field_value[i].value.length>0) {
! strQuery +=
"&title="+document.forms['f'].field_value[i].value;
}
! if (document.forms['f'].kohafield[i].value == "biblio.author"
&&document.forms['f'].field_value[i].value.length>0) {
! strQuery +=
"&author="+document.forms['f'].field_value[i].value;
}
! if (document.forms['f'].kohafield[i].value ==
"biblioitems.issn" && document.forms['f'].field_value[i].value.length>0) {
! strQuery +=
"&issn="+document.forms['f'].field_value[i].value;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/authorities authorities.tmpl,1.6.2.3,1.6.2.4,
Owen Leonard <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/search.marc search.tmpl,1.6.2.5,1.6.2.6 suggest.tmpl,1.1.2.1,1.1.2.2
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull search.tmpl,1.2,1.2.2.1
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/search.marc search.tmpl,1.6.2.5,1.6.2.6 suggest.tmpl,1.1.2.1,1.1.2.2
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bull search.tmpl,1.2,1.2.2.1
- Index(es):