Subversion Repositories SmartDukaan

Rev

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

Rev 18312 Rev 18314
Line 423... Line 423...
423
 
423
 
424
$(document).on('click','button#addItems',function(){
424
$(document).on('click','button#addItems',function(){
425
	$('#myModal').modal('hide');
425
	$('#myModal').modal('hide');
426
	$("#cartloader").removeClass('hidden');
426
	$("#cartloader").removeClass('hidden');
427
	history.addItem="yes";
427
	history.addItem="yes";
428
	setTimeout(function () {history.back();}, 10000);
428
	setTimeout(function () {history.back();}, 5000);
429
});
429
});
430
 
430
 
431
$(document).on('click','button#continueCheckout',function(){
431
$(document).on('click','button#continueCheckout',function(){
432
	$('#myModal').modal('hide');
432
	$('#myModal').modal('hide');
433
	$("#cartloader").removeClass('hidden');
433
	$("#cartloader").removeClass('hidden');
Line 439... Line 439...
439
        'name': 'cart_details',
439
        'name': 'cart_details',
440
        'value': localStorage.getItem('cart_details'),
440
        'value': localStorage.getItem('cart_details'),
441
        'type': 'hidden'
441
        'type': 'hidden'
442
    }));
442
    }));
443
    history.form=newForm;
443
    history.form=newForm;
444
    setTimeout(function () {history.back();}, 10000);
444
    setTimeout(function () {history.back();}, 5000);
445
});
445
});
446
 
446
 
447
$(document).on('click','.changepincode',function(){
447
$(document).on('click','.changepincode',function(){
448
	$('#cartLoadingModal').modal('show');
448
	$('#cartLoadingModal').modal('show');
449
	var pincode = "pin_"+$('.pincodeval').val();
449
	var pincode = "pin_"+$('.pincodeval').val();