Subversion Repositories SmartDukaan

Rev

Rev 6924 | Rev 6930 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6924 Rev 6929
Line 94... Line 94...
94
	} 
94
	} 
95
	
95
	
96
	$('.agreeInsuranceTnc').change(function() {
96
	$('.agreeInsuranceTnc').change(function() {
97
		$('.agreeInsuranceTnc').attr('disabled', 'disabled');
97
		$('.agreeInsuranceTnc').attr('disabled', 'disabled');
98
		$('.wantInsurance').attr('disabled', 'disabled');
98
		$('.wantInsurance').attr('disabled', 'disabled');
99
		productId = $(this).attr('itemId');
99
		productId = $(this).attr('productid');
100
		if(this.checked){
100
		if(this.checked){
101
			trackEventWithGA('Insurance', 'Agreed to Terms', productId);
101
			trackEventWithGA('Insurance', 'Agreed to Terms', productId);
102
		}
102
		}
103
		jQuery.ajax({
103
		jQuery.ajax({
104
			type: "POST",
104
			type: "POST",