Subversion Repositories SmartDukaan

Rev

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

Rev 18754 Rev 18760
Line 582... Line 582...
582
			            if(payOption=='cod'){
582
			            if(payOption=='cod'){
583
			                confirmCheckout(msg);
583
			                confirmCheckout(msg);
584
			            } else if (payOption=='other_option'){
584
			            } else if (payOption=='other_option'){
585
			                confirmPrepaid(msg);
585
			                confirmPrepaid(msg);
586
			            } else if(payOption=='add'){
586
			            } else if(payOption=='add'){
587
			            	window.location.replace(apihost + "shippings/index/");
587
			            	var url = apihost + 'shippings/';
-
 
588
			        	    var newForm = $('<form>', {
-
 
589
			        	        'action': url,
-
 
590
			        	        'method':'post'
-
 
591
			        	    }).append($('<input>', {
-
 
592
			        	        'name': 'cart_details',
-
 
593
			        	        'value': localStorage.getItem('cart_details'),
-
 
594
			        	        'type': 'hidden'
-
 
595
			        	    }));
-
 
596
			        	    newForm.submit();
588
			    		}
597
			    		}
589
			        }                           
598
			        }                           
590
			    });
599
			    });
591
			    return false;
600
			    return false;
592
		}     
601
		}