[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en/includes basket.js,1.1.2
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en/includes basket.js,1.1.2.1,1.1.2.2 |
Date: |
Wed, 28 Sep 2005 13:38:45 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en/includes
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19519/koha-tmpl/opac-tmpl/npl/en/includes
Modified Files:
Tag: rel_2_2
basket.js
Log Message:
Updating openbiblio() in line with CSS. Adding focus() handling for basket
window
Index: basket.js
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/npl/en/includes/basket.js,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** basket.js 12 Jan 2005 20:23:00 -0000 1.1.2.1
--- basket.js 28 Sep 2005 20:38:43 -0000 1.1.2.2
***************
*** 74,78 ****
function openBasket() {
var strCookie = "";
-
var nameCookie = "bib_list";
var valCookie = readCookie(nameCookie);
--- 74,77 ----
***************
*** 84,91 ****
var iW = 620;
var iH = 450;
-
var optWin =
"dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,height="+iH+",width="+iW;
var loc = CGIBIN + "opac-basket.pl?" + strCookie;
var basket = open(loc, "basket", optWin);
}
else {
--- 83,90 ----
var iW = 620;
var iH = 450;
var optWin =
"dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=yes,height="+iH+",width="+iW;
var loc = CGIBIN + "opac-basket.pl?" + strCookie;
var basket = open(loc, "basket", optWin);
+ if (window.focus) {basket.focus()}
}
else {
***************
*** 360,365 ****
}
! function openBiblio(biblionumber) {
! openerURL="opac-detail.pl?bib="+biblionumber;
opener.document.location = openerURL;
}
\ No newline at end of file
--- 359,365 ----
}
! function openBiblio(dest,biblionumber) {
! openerURL=dest+"?bib="+biblionumber;
opener.document.location = openerURL;
+ opener.focus();
}
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/npl/en/includes basket.js,1.1.2.1,1.1.2.2,
Owen Leonard <=