Subversion Repositories SmartDukaan

Rev

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

Rev 6912 Rev 6921
Line 283... Line 283...
283
    		}
283
    		}
284
    	});
284
    	});
285
	});
285
	});
286
	
286
	
287
	$('#proceedToPay').click(function(){
287
	$('#proceedToPay').click(function(){
288
		if($('#insuranceDetailsForm:hidden').length == 0) {
288
		if($('#insuranceDetailsForm:visible').length == 1) {
289
			alert("Please submit the insurance details first");
289
			alert("Please submit the insurance details first");
290
			return false;
290
			return false;
291
		}
291
		}
292
		
292
		
293
		if(($('#store-addresses').find('.default-address').attr('zone') !=  $('#zone-selector').val()) && ($("#tabSelector").val() == "HotSpot")) {
293
		if(($('#store-addresses').find('.default-address').attr('zone') !=  $('#zone-selector').val()) && ($("#tabSelector").val() == "HotSpot")) {