[*] Project : Jquery 1.7.2

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14792 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli
2012-04-20 15:45:43 +00:00
parent d788baee35
commit d22fde6176
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>