Subversion Repositories SmartDukaan

Rev

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

Rev 23367 Rev 23500
Line 23... Line 23...
23
	
23
	
24
});
24
});
25
 
25
 
26
function loadUserProfile(domId){
26
function loadUserProfile(domId){
27
	
27
	
28
	doAjaxRequestHandler(context+"/userProfile", "GET", function(response){
28
	doGetAjaxRequestHandler(context+"/userProfile", function(response){
29
		$('#' + domId).html(response);
29
		$('#' + domId).html(response);
30
	});
30
	});
31
	
31
	
32
}
32
}
33
 
33
 
Line 44... Line 44...
44
		paymentOptionIdStatuses.push(paymentOptionIdStatusObject);
44
		paymentOptionIdStatuses.push(paymentOptionIdStatusObject);
45
	}
45
	}
46
	console.log(paymentOptionIdStatuses);
46
	console.log(paymentOptionIdStatuses);
47
	var json = JSON.stringify(paymentOptionIdStatuses);
47
	var json = JSON.stringify(paymentOptionIdStatuses);
48
	
48
	
49
	doAjaxRequestWithJsonHandler(context+"/paymentOption", "PUT", json, function(response){
49
	doPutAjaxRequestWithJsonHandler(context+"/paymentOption", "PUT", json, function(response){
50
		$('#main-content').html(response);
50
		$('#main-content').html(response);
51
	});
51
	});
52
}
52
}
53
53