Subversion Repositories SmartDukaan

Rev

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

Rev 25813 Rev 26669
Line 21... Line 21...
21
		$orderItemRow.find('.mfgdate').val(mfgDate);
21
		$orderItemRow.find('.mfgdate').val(mfgDate);
22
		$('#mobilePlansModal').modal('hide');
22
		$('#mobilePlansModal').modal('hide');
23
		calculateTotalAmount();
23
		calculateTotalAmount();
24
	});
24
	});
25
  
25
  
26
	$(".mk_restore").live('click', function() {
26
	$("#mk_restore").live('click', function() {
27
		var customerDetails = localStorage.getItem("customerDetails");
27
		var customerDetails = localStorage.getItem("customerDetails");
28
		if(customerDetails!=null) {
28
		if(customerDetails!=null) {
29
			customerObj = JSON.parse(customerDetails);
29
			customerObj = JSON.parse(customerDetails);
30
			$("form#cd input[name=firstName]").val(customerObj['firstName']);
30
			$("form#cd input[name=firstName]").val(customerObj['firstName']);
31
			$("form#cd input[name=lastName]").val(customerObj['lastName']);
31
			$("form#cd input[name=lastName]").val(customerObj['lastName']);