Subversion Repositories SmartDukaan

Rev

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

Rev 27895 Rev 27908
Line 129... Line 129...
129
	});
129
	});
130
	newTargetSlab.find("select.criteria-brands").chosen({no_results_text: "Oops, nothing found!"});
130
	newTargetSlab.find("select.criteria-brands").chosen({no_results_text: "Oops, nothing found!"});
131
	//createSlabFrom(currentHtml);
131
	//createSlabFrom(currentHtml);
132
});
132
});
133
 
133
 
134
$(document).on('click', '.btn.multiselect', function(){
134
$(document).on('click', 'select.criteria-brands', function(){
135
	if(changed) {
135
	if(changed) {
136
		let brands = $(this).closest('.item-criteria').find('select').val();
136
		let brands = $(this).closest('.item-criteria').find('select').val();
137
		$brandsContainer = $(this);
137
		$brandsContainer = $(this);
138
		var url = `${context}/entity?brands=${brands.join(",")}&categoryId=3&limit=0`;
138
		var url = `${context}/entity?brands=${brands.join(",")}&categoryId=3&limit=0`;
139
		$select = $brandsContainer.closest('.item-criteria').find('.criteria-catalogids');
139
		$select = $brandsContainer.closest('.item-criteria').find('.criteria-catalogids');