Subversion Repositories SmartDukaan

Rev

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

Rev 17965 Rev 17966
Line 2... Line 2...
2
<script>
2
<script>
3
	$(document).ready(function(){
3
	$(document).ready(function(){
4
		var cart_details = localStorage.getItem("cart_details");
4
		var cart_details = localStorage.getItem("cart_details");
5
		if(cart_details == undefined){
5
		if(cart_details == undefined){
6
			$('span#totalPayable').text(' ₹ 0');
6
			$('span#totalPayable').text(' ₹ 0');
7
			$('button.confirmcheckout').prop( "disabled", true );
7
			$('input.submit_check').prop( "disabled", true );
8
			$('.confirmprepaid').addClass('confirmprepaidDisabled').removeClass('confirmprepaid');
-
 
9
		}else{
8
		}else{
10
			$('button.confirmcheckout').prop( "disabled", false );
9
			$('input.submit_check').prop( "disabled", false );
11
			$('.confirmprepaidDisabled').addClass('confirmprepaid').removeClass('confirmprepaidDisabled');
-
 
12
		}
10
		}
13
		var footertop = $(window).height();
11
		var footertop = $(window).height();
14
		setInterval(function() {
12
		setInterval(function() {
15
			if(parseInt(footertop)!=parseInt($(window).height())){
13
			if(parseInt(footertop)!=parseInt($(window).height())){
16
				$("div#footer").hide();
14
				$("div#footer").hide();