[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/bull search.tmpl,1.1
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/bull search.tmpl,1.1.2.2,1.1.2.3 |
Date: |
Thu, 25 Aug 2005 11:00:44 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/bull
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20029/koha-tmpl/intranet-tmpl/npl/en/bull
Modified Files:
Tag: rel_2_2
search.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: search.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/bull/search.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** search.tmpl 18 Jan 2005 21:38:05 -0000 1.1.2.2
--- search.tmpl 25 Aug 2005 18:00:39 -0000 1.1.2.3
***************
*** 33,54 ****
</form>
! <script>
! function sql_update() {
! document.f.sql.value="";
! for (i=0 ; i<document.f.marclist.length ; i++) {
! if (document.f.value[i].value.length>0) {
! document.f.sql.value = document.f.sql.value+
!
document.f.and_or[i].value + ' (' +
!
document.f.excluding[i].value + ' ' +
!
document.f.marclist[i].value + ' ' +
!
document.f.operator[i].value + ' ' +
!
'\''+document.f.value[i].value + '\') ';
! }
! }
! }
!
function AddStatement() {
! document.forms[0].op.value="AddStatement";
document.f.submit();
}
--- 33,40 ----
</form>
! <script language="JavaScript" type="text/javascript">
function AddStatement() {
! document.forms['f'].op.value="AddStatement";
document.f.submit();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/bull search.tmpl,1.1.2.2,1.1.2.3,
Owen Leonard <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/authorities authorities.tmpl,1.1.2.2,1.1.2.3
- Next 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
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/authorities authorities.tmpl,1.1.2.2,1.1.2.3
- Next 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
- Index(es):