Subversion Repositories SmartDukaan

Rev

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

Rev 5796 Rev 5831
Line 268... Line 268...
268
	
268
	
269
	// on delete of primary address
269
	// on delete of primary address
270
	if(sourceIdParentId == "A1"){
270
	if(sourceIdParentId == "A1"){
271
	
271
	
272
		$("#" + sourceIdParentId + " #" + sourceId + " .address").html("");
272
		$("#" + sourceIdParentId + " #" + sourceId + " .address").html("");
273
			
-
 
274
		
-
 
275
		alert("Ajax call to delete" + sourceId);
-
 
276
		
273
		
277
		// make first other address as primary address if available
274
		// make first other address as primary address if available
278
		if(otherAddressCount === 0){
275
		if(otherAddressCount === 0){
279
			$("#" + sourceIdParentId).html("");
276
			$("#" + sourceIdParentId).html("");
280
			$(".noAddress1").slideDown('slow');
277
			$(".noAddress1").slideDown('slow');