Subversion Repositories SmartDukaan

Rev

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

Rev 26389 Rev 26451
Line 524... Line 524...
524
				selected : item.active
524
				selected : item.active
525
			});
525
			});
526
		});
526
		});
527
		bootBoxObj['inputOptions'] = inputOptions;
527
		bootBoxObj['inputOptions'] = inputOptions;
528
		bootbox.prompt(bootBoxObj);
528
		bootbox.prompt(bootBoxObj);
529
		$('.item-wrapper').find('input[type="checkbox"]').slice(1).each(
529
		$('.item-wrapper').find("input[type='checkbox']").slice(1).each(
530
				function(index, checkbox) {
530
				function(index, checkbox) {
531
					checkbox.checked = coloredItems[index].active;
531
					checkbox.checked = coloredItems[index].active;
532
				});
532
				});
-
 
533
		bootBoxObj.modal('show');
533
	});
534
	});
534
}
535
}
535
$(".item-wrapper").find("input[type='checkbox']:first").live(
536
$(".item-wrapper").find("input[type='checkbox']:first").live(
536
		'change',
537
		'change',
537
		function() {
538
		function() {