[*] Project : Jquery 1.7.2

This commit is contained in:
fBrignoli
2012-04-20 15:45:43 +00:00
parent 5ad963ae19
commit d5c0d7a80d
20 changed files with 106 additions and 265 deletions
+5 -4
View File
@@ -24,15 +24,15 @@
$('.select_box input[type=checkbox]').click(function(e)
{
select_entity($(this).attr('checked'), $(this).parent().parent());
select_entity($(this).prop('checked'), $(this).parent().parent());
e.stopImmediatePropagation();
});
$('.select_box').click(function()
{
var checkbox = $(this).find('input[type=checkbox]');
checkbox.attr('checked', !checkbox.attr('checked'));
select_entity(checkbox.attr('checked'), $(this).parent());
checkbox.attr('checked', !checkbox.prop('checked'));
select_entity(checkbox.prop('checked'), $(this).parent());
});
});
@@ -237,4 +237,5 @@
</form>
<?php endif; ?>
</body>
</html>
</html>