Subversion Repositories SmartDukaan

Rev

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

Rev 5716 Rev 5747
Line 20... Line 20...
20
    		}
20
    		}
21
    	});
21
    	});
22
	});
22
	});
23
	
23
	
24
	$('#proceedToPay').click(function(){
24
	$('#proceedToPay').click(function(){
-
 
25
		if($('#store-addresses').find('.default-address').attr('zone') !=  $('#zone-selector').val()) {
-
 
26
			alert("Please select one store address");
-
 
27
			return false;
-
 
28
		}
25
		var canProceedToPay = parseInt($('#canProceedToPay').val());
29
		var canProceedToPay = parseInt($('#canProceedToPay').val());
26
		
30
		
27
		if (canProceedToPay == 1)	{
31
		if (canProceedToPay == 1)	{
28
			
32
			
29
			trackProceedToPay();
33
			trackProceedToPay();