Lines 299-313
function delRecord (n, s) {
Link Here
|
299 |
} |
299 |
} |
300 |
|
300 |
|
301 |
|
301 |
|
302 |
function delBasket(rep) { |
302 |
function delBasket(context,rep) { |
303 |
if (rep == undefined){ |
303 |
if (rep == undefined){ |
304 |
rep = confirm(MSG_CONFIRM_DEL_BASKET); |
304 |
rep = confirm(MSG_CONFIRM_DEL_BASKET); |
305 |
} |
305 |
} |
306 |
if (rep) { |
306 |
if (rep) { |
307 |
delCookie(nameCookie); |
307 |
if(context == "popup"){ |
308 |
document.location = "about:blank"; |
308 |
delCookie(nameCookie); |
309 |
updateBasket(0,top.opener); |
309 |
document.location = "about:blank"; |
310 |
window.close(); |
310 |
updateBasket(0,top.opener); |
|
|
311 |
window.close(); |
312 |
} else { |
313 |
delCookie(nameCookie); |
314 |
updateBasket(0,top.opener); |
315 |
} |
311 |
} |
316 |
} |
312 |
} |
317 |
} |
313 |
|
318 |
|