Subversion Repositories SmartDukaan

Rev

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

Rev 4791 Rev 5040
Line 27... Line 27...
27
		if (canProceedToPay == 1)	{
27
		if (canProceedToPay == 1)	{
28
			
28
			
29
			trackProceedToPay();
29
			trackProceedToPay();
30
			$('#formProceedToPay').submit();
30
			$('#formProceedToPay').submit();
31
		} else	{
31
		} else	{
-
 
32
			var reasonActionDisability = $('#reasonActionDisability').val();
32
			
33
			
-
 
34
			if(reasonActionDisability.indexOf('Location not serviceable') >= 0)	{
-
 
35
				trackEventWithGA('Cart', 'Location not serviceable', $('#selectedPincode').val());
-
 
36
			}
33
			alert($('#reasonActionDisability').val());
37
			alert(reasonActionDisability);
34
		}
38
		}
35
	});
39
	});
36
	
40
	
37
	$('#viewOrders').click(function(){
41
	$('#viewOrders').click(function(){
38
		window.location.href = "/myaccount";
42
		window.location.href = "/myaccount";