Subversion Repositories SmartDukaan

Rev

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

Rev 33183 Rev 33465
Line 10... Line 10...
10
 
10
 
11
	$(document).on('click', ".vendor-price-circular", function() {
11
	$(document).on('click', ".vendor-price-circular", function() {
12
		loadVendorPriceCircular("main-content");
12
		loadVendorPriceCircular("main-content");
13
	});
13
	});
14
 
14
 
-
 
15
	$(document).on('click', ".create-bulk-vendor-catalog-pricing", function () {
-
 
16
		createBulkPricing("main-content");
-
 
17
	});
-
 
18
 
15
 
19
 
16
	$(document).on('click', ".vendorcatalogpricing", function() {
20
	$(document).on('click', ".vendorcatalogpricing", function() {
17
        if (typeof currentModel === 'undefined' || currentModel === null || currentModel === '') {
21
        if (typeof currentModel === 'undefined' || currentModel === null || currentModel === '') {
18
            alert('Please search for the right model');
22
            alert('Please search for the right model');
19
        } else {
23
        } else {
Line 243... Line 247...
243
 
247
 
244
function loadVendorPriceCircular(domId) {
248
function loadVendorPriceCircular(domId) {
245
	doGetAjaxRequestHandler(context + "/vendorPriceCircular", function(response) {
249
	doGetAjaxRequestHandler(context + "/vendorPriceCircular", function(response) {
246
		$('#' + domId).html(response);
250
		$('#' + domId).html(response);
247
	});
251
	});
-
 
252
}
-
 
253
 
-
 
254
function createBulkPricing(domId) {
-
 
255
	doGetAjaxRequestHandler(context + "/createBulkPricing",
-
 
256
		function (response) {
-
 
257
			$('#' + domId).html(response);
-
 
258
		});
248
}
259
}
249
260