Lines 16-41
Link Here
|
16 |
$("#cancelledorderst").tablesorter(); |
16 |
$("#cancelledorderst").tablesorter(); |
17 |
}); |
17 |
}); |
18 |
function confirm_close() { |
18 |
function confirm_close() { |
19 |
var is_confirmed = confirm(_('Are you sure you want to close this basket?')); |
19 |
var is_confirmed = confirm(_("Are you sure you want to close this basket?")); |
20 |
if (is_confirmed) { |
20 |
if (is_confirmed) { |
21 |
window.location = "[% script_name %]?op=close&basketno=[% basketno %]"; |
21 |
window.location = "[% script_name %]?op=close&basketno=[% basketno %]"; |
22 |
} |
22 |
} |
23 |
} |
23 |
} |
24 |
function confirm_deletion() { |
24 |
function confirm_deletion() { |
25 |
var is_confirmed = confirm(_('Are you sure you want to delete this basket?')); |
25 |
var is_confirmed = confirm(_("Are you sure you want to delete this basket?")); |
26 |
if (is_confirmed) { |
26 |
if (is_confirmed) { |
27 |
window.location = "[% script_name %]?op=delete_confirm&basketno=[% basketno %]&booksellerid=[% booksellerid %]"; |
27 |
window.location = "[% script_name %]?op=delete_confirm&basketno=[% basketno %]&booksellerid=[% booksellerid %]"; |
28 |
} |
28 |
} |
29 |
} |
29 |
} |
30 |
function confirm_delete_item(ordernumber, biblionumber) { |
30 |
function confirm_delete_item(ordernumber, biblionumber) { |
31 |
var is_confirmed = confirm(_('Are you sure you want to delete this order ?')); |
31 |
var is_confirmed = confirm(_("Are you sure you want to delete this order ?")); |
32 |
if (is_confirmed) { |
32 |
if (is_confirmed) { |
33 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber; |
33 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber; |
34 |
} |
34 |
} |
35 |
} |
35 |
} |
36 |
|
36 |
|
37 |
function confirm_delete_biblio(ordernumber, biblionumber) { |
37 |
function confirm_delete_biblio(ordernumber, biblionumber) { |
38 |
var is_confirmed = confirm(_('Are you sure you want to delete this catalog record and order ?')); |
38 |
var is_confirmed = confirm(_("Are you sure you want to delete this catalog record and order ?")); |
39 |
if (is_confirmed) { |
39 |
if (is_confirmed) { |
40 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber+"&delbiblio=1"; |
40 |
window.location = "addorder.pl?ordernumber="+ordernumber+"&basketno=[% basketno %]&quantity=0&biblionumber="+biblionumber+"&delbiblio=1"; |
41 |
} |
41 |
} |
Lines 59-65
Link Here
|
59 |
<script type="text/javascript"> |
59 |
<script type="text/javascript"> |
60 |
//<![CDATA[ |
60 |
//<![CDATA[ |
61 |
function confirm_reopen(skip) { |
61 |
function confirm_reopen(skip) { |
62 |
var is_confirmed = skip || confirm(_('Are you sure you want to reopen this basket?')); |
62 |
var is_confirmed = skip || confirm(_("Are you sure you want to reopen this basket?")); |
63 |
if (is_confirmed) { |
63 |
if (is_confirmed) { |
64 |
window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]"; |
64 |
window.location = "[% script_name %]?op=reopen&basketno=[% basketno %]"; |
65 |
} |
65 |
} |