[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

Steve Tonnesen tonnesen at users.sourceforge.net
Fri Oct 25 21:43:37 CEST 2002


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/includes
In directory usw-pr-cvs1:/tmp/cvs-serv3679

Modified Files:
      Tag: rel-1-2
	cat-top.inc circulation-top.inc 
Log Message:
Fixes form focusing bug in Internet Explorer


Index: cat-top.inc
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/includes/cat-top.inc,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** cat-top.inc	21 Oct 2002 17:05:07 -0000	1.2.2.1
--- cat-top.inc	25 Oct 2002 19:43:33 -0000	1.2.2.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/koha-tmpl/intranet-tmpl/default/en/includes/circulation-top.inc,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** circulation-top.inc	21 Oct 2002 17:05:07 -0000	1.2.2.1
--- circulation-top.inc	25 Oct 2002 19:43:33 -0000	1.2.2.2
***************
*** 26,30 ****
  function focusinput() {
      	window.onerror=null;
!     	document.forms[0].elements[0].focus();
  }
  function messenger(url, x, y){
--- 26,32 ----
  function focusinput() {
      	window.onerror=null;
! 	if (document.forms[0]) {
! 	    document.forms[0].elements[0].focus();
! 	}
  }
  function messenger(url, x, y){





More information about the Koha-cvs mailing list