[Koha-cvs] CVS: koha-html/intranet-html/includes circulation-top.inc,1.6,1.7

Finlay Thompson finlayt at users.sourceforge.net
Wed Jul 24 05:18:31 CEST 2002


Update of /cvsroot/koha/koha-html/intranet-html/includes
In directory usw-pr-cvs1:/tmp/cvs-serv4208

Modified Files:
	circulation-top.inc 
Log Message:

added and fixed some javascript functions



Index: circulation-top.inc
===================================================================
RCS file: /cvsroot/koha/koha-html/intranet-html/includes/circulation-top.inc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** circulation-top.inc	21 Apr 2002 04:32:50 -0000	1.6
--- circulation-top.inc	24 Jul 2002 03:18:28 -0000	1.7
***************
*** 21,31 ****
  
  function leapto(form) {
! var myindex=form.dest.selectedIndex
! parent.location.href=(form.dest.options[myindex].value);
  }
  function focusinput() {
!     window.onerror=null;
!     document.forms[0].elements[0].focus();
  }
  if (document.images){
  
--- 21,44 ----
  
  function leapto(form) {
! 	var myindex=form.dest.selectedIndex
! 	parent.location.href=(form.dest.options[myindex].value);
  }
  function focusinput() {
!     	window.onerror=null;
!     	document.forms[0].elements[0].focus();
  }
+ function messenger(url, x, y){
+         window1=window.open(url,"window1","height"+x+",width="+y+",left=150,top=50,350,screenY=50");
+ }
+ function popup(message, x, y){
+ 	win2=window.open("","update","height="+x+",width="+y+",left=150,top=50,screenX=150,screenY=50,resizable");
+ 	win2.focus();
+ 	win2.document.write(message);
+ 	win2.document.close();
+ }
+ 
+ 
+ 
+ 
  if (document.images){
  
***************
*** 113,115 ****
  </map>
  
! <BLOCKQUOTE>
--- 126,128 ----
  </map>
  
! <blockquote>
\ No newline at end of file





More information about the Koha-cvs mailing list