Subversion Repositories SmartDukaan

Rev

Rev 32344 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32344 Rev 32780
Line 8... Line 8...
8
	$(document).on('click', ".add-combo-container", function() {
8
	$(document).on('click', ".add-combo-container", function() {
9
		var $htmlContainer = $('<li>'
9
		var $htmlContainer = $('<li>'
10
			+ '<div class = "row" style="margin-top:12px" >'
10
			+ '<div class = "row" style="margin-top:12px" >'
11
			+ '<div class="">'
11
			+ '<div class="">'
12
			+ '<div class="panel panel-default">'
12
			+ '<div class="panel panel-default">'
13
			+ ' <div class="panel-heading">Set</div>'
13
			+ ' <div class="panel-heading">Set <a role="button" href="javascript:void(0)" class="deleteSet" > <i class="fa fa-trash" style="float:right;color:red;margin-top:10px;"></i></a></div>'
-
 
14
 
14
 
15
 
15
			+ '  <div class="panel-content">'
16
			+ '  <div class="panel-content">'
16
			+ '    <div id="cosummary">'
17
			+ '    <div id="cosummary">'
17
			+ '   <div class = "row" style="margin-top:12px" >'
18
			+ '   <div class = "row" style="margin-top:12px" >'
18
			+ '     <div class="col-lg-3">'
19
			+ '     <div class="col-lg-3">'
Line 203... Line 204...
203
 
204
 
204
		$(this).closest("tr").remove();
205
		$(this).closest("tr").remove();
205
 
206
 
206
	});
207
	});
207
 
208
 
-
 
209
	$(document).on('click', ".deleteSet", function() {
-
 
210
		console.log("Hello");
-
 
211
 
-
 
212
		$(this).closest(".panel").remove();
-
 
213
 
-
 
214
	});
-
 
215
 
208
 
216
 
209
 
217
 
210
 
218
 
211
	$(document).on('click', ".remove-combo", function() {
219
	$(document).on('click', ".remove-combo", function() {
212
		var id = $(this).data('requestid');
220
		var id = $(this).data('requestid');