Subversion Repositories SmartDukaan

Rev

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

Rev 27693 Rev 27694
Line 147... Line 147...
147
 
147
 
148
		console.log(customerObj['emailId']);
148
		console.log(customerObj['emailId']);
149
		customerObj['mobileNumber'] = $("input.phone").val();
149
		customerObj['mobileNumber'] = $("input.phone").val();
150
		doPostAjaxRequestWithJsonHandler(`${context}/customer/add`, JSON.stringify(customerObj), function(response){
150
		doPostAjaxRequestWithJsonHandler(`${context}/customer/add`, JSON.stringify(customerObj), function(response){
151
			alert("Customer added");
151
			alert("Customer added");
152
			$( "input.search-phone").val(customerObj['mobileNumber']).change();
152
			$( "input.search-phone").change();
153
		});
153
		});
154
		
154
		
155
		
155
		
156
	});
156
	});
157
	$('a.select-address').live('click', function() {
157
	$('a.select-address').live('click', function() {