Subversion Repositories SmartDukaan

Rev

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

Rev 27047 Rev 27184
Line 32... Line 32...
32
		function(response) {
32
		function(response) {
33
			console.log(response)
33
			console.log(response)
34
			$('#' + "main-content").html(response);
34
			$('#' + "main-content").html(response);
35
		});
35
		});
36
	});
36
	});
-
 
37
	$(".catalog_items").live('click',function() {
-
 
38
		doAjaxRequestHandler(`${context}/catalog-item`, "GET",function(response) {
-
 
39
			$('#' + "main-content").html(response);
-
 
40
		});
-
 
41
	});
37
});
42
});
38
 
43
 
39
function loadItems(domId) {
44
function loadItems(domId) {
40
	doAjaxRequestHandler(context + "/getProducts", "GET", function(response) {
45
	doAjaxRequestHandler(context + "/getProducts", "GET", function(response) {
41
		$('#' + domId).html(response);
46
		$('#' + domId).html(response);