Lines 57-65
function delCookie(name) {
Link Here
|
57 |
var exp = new Date(); |
57 |
var exp = new Date(); |
58 |
exp.setTime(exp.getTime()-1); |
58 |
exp.setTime(exp.getTime()-1); |
59 |
if(parent.opener){ |
59 |
if(parent.opener){ |
60 |
parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString(); |
60 |
parent.opener.document.cookie = name + "=null; path=/; expires=" + exp.toGMTString(); |
61 |
} else { |
61 |
} else { |
62 |
document.cookie = name + "=null; expires=" + exp.toGMTString(); |
62 |
document.cookie = name + "=null; path=/; expires=" + exp.toGMTString(); |
63 |
} |
63 |
} |
64 |
} |
64 |
} |
65 |
|
65 |
|
Lines 406-416
function updateBasket(updated_value,target) {
Link Here
|
406 |
} else { |
406 |
} else { |
407 |
bcount = ""; |
407 |
bcount = ""; |
408 |
} |
408 |
} |
409 |
$('#basketcount').html(bcount); |
|
|
410 |
$('.cart-message').html(MSG_IN_YOUR_CART+updated_value); |
411 |
if(target){ |
409 |
if(target){ |
412 |
target.$('#basketcount').html(bcount); |
410 |
target.$('#basketcount').html(bcount); |
413 |
target.$('.cart-message').html(MSG_IN_YOUR_CART+updated_value); |
411 |
target.$('.cart-message').html(MSG_IN_YOUR_CART+updated_value); |
|
|
412 |
} else { |
413 |
$('#basketcount').html(bcount); |
414 |
$('.cart-message').html(MSG_IN_YOUR_CART+updated_value); |
414 |
} |
415 |
} |
415 |
} |
416 |
} |
416 |
|
417 |
|
417 |
- |
|
|