| Line 82... |
Line 82... |
| 82 |
|
82 |
|
| 83 |
$(".unselected-tab").live('click', function() {
|
83 |
$(".unselected-tab").live('click', function() {
|
| 84 |
var tabToBeSelected = $(this).attr('id');
|
84 |
var tabToBeSelected = $(this).attr('id');
|
| 85 |
var deliveryType = "In-Store Pickup";
|
85 |
var deliveryType = "In-Store Pickup";
|
| 86 |
if(tabToBeSelected == 'tab-left') {
|
86 |
if(tabToBeSelected == 'tab-left') {
|
| - |
|
87 |
$('#inStoreLocationMsg').addClass('invisibleDiv');
|
| 87 |
$("#tabSelector").val("myLocation");
|
88 |
$("#tabSelector").val("myLocation");
|
| 88 |
$('#tabSelectorForAddAddressForm').val('myLocation');
|
89 |
$('#tabSelectorForAddAddressForm').val('myLocation');
|
| 89 |
$('#newAddressFormHeading').text("Enter the address where you want the items to be delivered");
|
90 |
$('#newAddressFormHeading').text("Enter the address where you want the items to be delivered");
|
| 90 |
deliveryType = "Deliver to Address";
|
91 |
deliveryType = "Deliver to Address";
|
| 91 |
} else {
|
92 |
} else {
|
| - |
|
93 |
$('#inStoreLocationMsg').removeClass('invisibleDiv');
|
| 92 |
$("#tabSelector").val("HotSpot");
|
94 |
$("#tabSelector").val("HotSpot");
|
| 93 |
$('#tabSelectorForAddAddressForm').val('HotSpot');
|
95 |
$('#tabSelectorForAddAddressForm').val('HotSpot');
|
| 94 |
$('#newAddressFormHeading').text("Enter the address which you want printed on the bill");
|
96 |
$('#newAddressFormHeading').text("Enter the address which you want printed on the bill");
|
| 95 |
}
|
97 |
}
|
| 96 |
trackEventWithGA('DeliveryType', deliveryType);
|
98 |
trackEventWithGA('DeliveryType', deliveryType);
|