Subversion Repositories SmartDukaan

Rev

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

Rev 27755 Rev 27798
Line 255... Line 255...
255
	});
255
	});
256
});
256
});
257
 
257
 
258
function configureTagListingItemsDescriptionDropDown() {
258
function configureTagListingItemsDescriptionDropDown() {
259
	$(document).ready(function() {
259
	$(document).ready(function() {
260
		$('#tagListingItemsDescription').multiselect({
260
		$('.tagListingItemsDescription').multiselect({
261
			includeSelectAllOption : true,
261
			includeSelectAllOption : true,
262
			maxHeight : 200,
262
			maxHeight : 200,
263
			buttonWidth : '180px',
263
			buttonWidth : '180px',
264
			numberDisplayed : 1,
264
			numberDisplayed : 1,
265
			nonSelectedText : 'Items',
265
			nonSelectedText : 'Items',
Line 348... Line 348...
348
		$('#' + domId).html(response);
348
		$('#' + domId).html(response);
349
	});
349
	});
350
 
350
 
351
}
351
}
352
 
352
 
353
// function loadTagListingItemsDescriptionByBrand(domId, brand) {
-
 
354
// doGetAjaxRequestHandler(context + "/getTagListingItemsByBrand?brand="
-
 
355
// + brand, function(response) {
-
 
356
// $('#' + domId).html(response);
-
 
357
// configureTagListingItemsDescriptionDropDown();
-
 
358
// });
-
 
359
//
-
 
360
// }
-
 
361
function loadTagListingItemsDescriptionByBrand(domId, brands) {
353
function loadTagListingItemsDescriptionByBrand(domId, brands) {
362
	doPostAjaxRequestWithJsonHandler(context + '/getTagListingItemsByBrand',
354
	doPostAjaxRequestWithJsonHandler(context + '/getTagListingItemsByBrand',
363
			JSON.stringify(brands), function(response) {
355
			JSON.stringify(brands), function(response) {
364
				$('#' + domId).html(response);
356
				$('#' + domId).html(response);
365
				configureTagListingItemsDescriptionDropDown();
357
				configureTagListingItemsDescriptionDropDown();