diff options
Diffstat (limited to 'ishtar_common/static/js')
-rw-r--r-- | ishtar_common/static/js/ishtar.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index 8da9d38dc..13f3896a6 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -61,10 +61,15 @@ $('#to_top_arrow').live('click', function(){ $("html, body").animate({ scrollTop: 0}, 1000); }); +$('.check-all').live('click', function(){ + $(this).closest('table' + ).find('input:checkbox' + ).attr('checked', $(this).is(':checked')); +}); $("#main_menu ul li").live('click', function(){ var current_id = $(this).attr('id'); - console.log(current_id); + console.log(current_id); $("#main_menu ul ul").not($(this).parents('ul')).not($(this).find('ul') ).hide('slow'); $(this).find('ul').show('slow'); |