View | Details | Raw Unified | Return to bug 7368
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc (-2 / +2 lines)
Lines 15-25 Link Here
15
	 });
15
	 });
16
	 
16
	 
17
	[% IF ( viewshelf ) %] function sendList(){
17
	[% IF ( viewshelf ) %] function sendList(){
18
		open(CGIBIN+'virtualshelves/sendshelf.pl?shelfid=[% shelfnumber %]','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
18
		open(CGIBIN+'virtualshelves/sendshelf.pl?shelfid=[% shelfnumber %]','win_form','dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
19
	 }
19
	 }
20
	 
20
	 
21
	 function downloadList(){
21
	 function downloadList(){
22
		open(CGIBIN+'virtualshelves/downloadshelf.pl?shelfid=[% shelfnumber %]','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
22
		open(CGIBIN+'virtualshelves/downloadshelf.pl?shelfid=[% shelfnumber %]','win_form','dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
23
	 }[% END %]
23
	 }[% END %]
24
24
25
	// YUI Toolbar Functions
25
	// YUI Toolbar Functions
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/basket.js (-3 / +3 lines)
Lines 79-85 function openBasket() { Link Here
79
    if ( strCookie ) {
79
    if ( strCookie ) {
80
        var iW = 820;
80
        var iW = 820;
81
        var iH = 450;
81
        var iH = 450;
82
        var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
82
        var optWin = "dependent=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
83
        var loc = CGIBIN + "basket/basket.pl?" + strCookie;
83
        var loc = CGIBIN + "basket/basket.pl?" + strCookie;
84
        var basket = open(loc, "basket", optWin);
84
        var basket = open(loc, "basket", optWin);
85
        if (window.focus) {basket.focus()}
85
        if (window.focus) {basket.focus()}
Lines 335-341 function sendBasket() { Link Here
335
335
336
    var loc = CGIBIN + "basket/sendbasket.pl?" + strCookie;
336
    var loc = CGIBIN + "basket/sendbasket.pl?" + strCookie;
337
337
338
    var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100";
338
    var optWin="dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100";
339
    var win_form = open(loc,"win_form",optWin);
339
    var win_form = open(loc,"win_form",optWin);
340
}
340
}
341
341
Lines 345-351 function downloadBasket() { Link Here
345
345
346
    var loc = CGIBIN + "basket/downloadcart.pl?" + strCookie;
346
    var loc = CGIBIN + "basket/downloadcart.pl?" + strCookie;
347
347
348
    open(loc,"win_form",'dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
348
    open(loc,"win_form",'dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
349
}
349
}
350
350
351
function printBasket() {
351
function printBasket() {
(-)a/koha-tmpl/opac-tmpl/ccsr/en/js/basket.js (-3 / +3 lines)
Lines 80-86 function openBasket() { Link Here
80
    if ( strCookie ) {
80
    if ( strCookie ) {
81
        var iW = 820;
81
        var iW = 820;
82
        var iH = 450;
82
        var iH = 450;
83
        var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
83
        var optWin = "dependent=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
84
        var loc = CGIBIN + "opac-basket.pl?" + strCookie;
84
        var loc = CGIBIN + "opac-basket.pl?" + strCookie;
85
        var basket = open(loc, "basket", optWin);
85
        var basket = open(loc, "basket", optWin);
86
        if (window.focus) {basket.focus()}
86
        if (window.focus) {basket.focus()}
Lines 354-360 function sendBasket() { Link Here
354
354
355
    var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie;
355
    var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie;
356
356
357
    var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100";
357
    var optWin="dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100";
358
    var win_form = open(loc,"win_form",optWin);
358
    var win_form = open(loc,"win_form",optWin);
359
}
359
}
360
360
Lines 365-371 function downloadBasket() { Link Here
365
365
366
    var loc = CGIBIN + "opac-downloadcart.pl?" + strCookie;
366
    var loc = CGIBIN + "opac-downloadcart.pl?" + strCookie;
367
367
368
    open(loc,"win_form",'dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
368
    open(loc,"win_form",'dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
369
}
369
}
370
370
371
function printBasket() {
371
function printBasket() {
(-)a/koha-tmpl/opac-tmpl/prog/en/js/basket.js (-2 / +2 lines)
Lines 80-86 function openBasket() { Link Here
80
    if ( strCookie ) {
80
    if ( strCookie ) {
81
        var iW = 820;
81
        var iW = 820;
82
        var iH = 450;
82
        var iH = 450;
83
        var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
83
        var optWin = "dependent=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
84
        var loc = CGIBIN + "opac-basket.pl?" + strCookie;
84
        var loc = CGIBIN + "opac-basket.pl?" + strCookie;
85
        var basket = open(loc, "basket", optWin);
85
        var basket = open(loc, "basket", optWin);
86
        if (window.focus) {basket.focus()}
86
        if (window.focus) {basket.focus()}
Lines 365-371 function downloadBasket() { Link Here
365
365
366
    var loc = CGIBIN + "opac-downloadcart.pl?" + strCookie;
366
    var loc = CGIBIN + "opac-downloadcart.pl?" + strCookie;
367
367
368
    open(loc,"win_form",'dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
368
    open(loc,"win_form",'dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
369
}
369
}
370
370
371
function printBasket() {
371
function printBasket() {
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tt (-3 / +2 lines)
Lines 261-269 $(function() { Link Here
261
              [% IF ( itemsloop ) %]
261
              [% IF ( itemsloop ) %]
262
                  <div id="toolbar" class="list-actions">
262
                  <div id="toolbar" class="list-actions">
263
263
264
                      <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]" class="download" onclick="open(CGIBIN+'opac-downloadshelf.pl?shelfid=[% shelfnumber %]','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false;">Download list</a>
264
                      <a href="/cgi-bin/koha/opac-downloadshelf.pl?shelfid=[% shelfnumber %]" class="download" onclick="open(CGIBIN+'opac-downloadshelf.pl?shelfid=[% shelfnumber %]','win_form','dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false;">Download list</a>
265
265
266
[% IF ( opacuserlogin ) %]<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]" class="send" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=[% shelfnumber %]','win_form','dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>[% END %]
266
[% IF ( opacuserlogin ) %]<span class="sendlist"><a href="/cgi-bin/koha/opac-sendshelf.pl?shelfid=[% shelfnumber %]" class="send" onclick="open(CGIBIN+'opac-sendshelf.pl?shelfid=[% shelfnumber %]','win_form','dependent=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); return false; ">Send list</a></span>[% END %]
267
267
268
<a class="print" href="opac-shelves.pl" onclick="print(); return false;">Print list</a>
268
<a class="print" href="opac-shelves.pl" onclick="print(); return false;">Print list</a>
269
269
270
- 

Return to bug 7368