[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha-html/intranet-html/includes cat-top.inc,1.5.4.1,1.5
From: |
Steve Tonnesen |
Subject: |
[Koha-cvs] CVS: koha-html/intranet-html/includes cat-top.inc,1.5.4.1,1.5.4.2 circulation-top.inc,1.6.4.1,1.6.4.2 |
Date: |
Fri, 25 Oct 2002 12:42:32 -0700 |
Update of /cvsroot/koha/koha-html/intranet-html/includes
In directory usw-pr-cvs1:/tmp/cvs-serv3290/intranet-html/includes
Modified Files:
Tag: rel-1-2
cat-top.inc circulation-top.inc
Log Message:
This should fix the form focus bug in IE when there is no form to focus on.
Index: cat-top.inc
===================================================================
RCS file: /cvsroot/koha/koha-html/intranet-html/includes/cat-top.inc,v
retrieving revision 1.5.4.1
retrieving revision 1.5.4.2
diff -C2 -r1.5.4.1 -r1.5.4.2
*** cat-top.inc 11 Jul 2002 18:00:19 -0000 1.5.4.1
--- cat-top.inc 25 Oct 2002 19:42:26 -0000 1.5.4.2
***************
*** 27,31 ****
function focusinput() {
window.onerror=null;
! document.forms[0].elements[0].focus();
}
--- 27,33 ----
function focusinput() {
window.onerror=null;
! if (document.forms[0]) {
! document.forms[0].elements[0].focus();
! }
}
Index: circulation-top.inc
===================================================================
RCS file: /cvsroot/koha/koha-html/intranet-html/includes/circulation-top.inc,v
retrieving revision 1.6.4.1
retrieving revision 1.6.4.2
diff -C2 -r1.6.4.1 -r1.6.4.2
*** circulation-top.inc 11 Jul 2002 18:00:19 -0000 1.6.4.1
--- circulation-top.inc 25 Oct 2002 19:42:27 -0000 1.6.4.2
***************
*** 26,30 ****
function focusinput() {
window.onerror=null;
! document.forms[0].elements[0].focus();
}
if (document.images){
--- 26,32 ----
function focusinput() {
window.onerror=null;
! if (document.forms[0]) {
! document.forms[0].elements[0].focus();
! }
}
if (document.images){
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha-html/intranet-html/includes cat-top.inc,1.5.4.1,1.5.4.2 circulation-top.inc,1.6.4.1,1.6.4.2,
Steve Tonnesen <=
- Prev by Date:
[Koha-cvs] CVS: koha/updater updatedatabase,1.4.2.23,1.4.2.24
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes cat-top.inc,1.2.2.1,1.2.2.2 circulation-top.inc,1.2.2.1,1.2.2.2
- Previous by thread:
[Koha-cvs] CVS: koha/updater updatedatabase,1.4.2.23,1.4.2.24
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes cat-top.inc,1.2.2.1,1.2.2.2 circulation-top.inc,1.2.2.1,1.2.2.2
- Index(es):