If a parent category is selected we directly know the child ones are as well selected.
So, with this implementation we are wasting space in the database.
I do not have time right now for this improvement.
});
</script>
<script type="text/javascript">
+ //TODO: I am wasting space in the data base because if a parent category is checked directly we know the child categories
+ //are as well selected. So, we do not really need to send every checked category, just the parent ones.
$.fn.CheckCategories = function() {
var checked = [];
$('#rounded-corner :checked').each(function() {