Subversion Repositories SmartDukaan

Rev

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

Rev 28907 Rev 29162
Line 88... Line 88...
88
 
88
 
89
	$(document).on('click', '#catalog-button', function() {
89
	$(document).on('click', '#catalog-button', function() {
90
 
90
 
91
		loadSimilarCatalog("main-content", "");
91
		loadSimilarCatalog("main-content", "");
92
	});
92
	});
-
 
93
	
-
 
94
	$(document).on('click', '.target-slide', function() {
-
 
95
 
-
 
96
		loadOutletCategories("main-content");
-
 
97
	});
93
 
98
 
94
 
99
 
95
 
100
 
96
	$(document).on('click', '.view-invoices', function() {
101
	$(document).on('click', '.view-invoices', function() {
97
		loadInvoice();
102
		loadInvoice();
Line 810... Line 815...
810
		response) {
815
		response) {
811
		$('#' + domId).html(response);
816
		$('#' + domId).html(response);
812
	});
817
	});
813
}
818
}
814
 
819
 
-
 
820
function loadOutletCategories(domId) {
-
 
821
	doGetAjaxRequestHandler(context + "/getTargetInfo", function(
-
 
822
		response) {
-
 
823
		$('#' + domId).html(response);
-
 
824
	});
-
 
825
}
-
 
826
 
815
function getNotifyCancelItems(itemId, OrderId) {
827
function getNotifyCancelItems(itemId, OrderId) {
816
	doGetAjaxRequestHandler(context + "/getNotifyItems?itemId=" + itemId,
828
	doGetAjaxRequestHandler(context + "/getNotifyItems?itemId=" + itemId,
817
		function(response) {
829
		function(response) {
818
			$('.notify-cancel-order-Items-container .modal-content').html(
830
			$('.notify-cancel-order-Items-container .modal-content').html(
819
				response);
831
				response);