Fix full list selection

This commit is contained in:
Roberto Rosario
2015-06-19 16:27:28 -04:00
parent f3beb3b5e7
commit be61044041

View File

@@ -308,6 +308,12 @@
load_document_image($this);
},
});
$('th input:checkbox').click(function(e) {
var table = $(e.target).closest('table');
var checked = $(e.target).prop('checked');
$('td input:checkbox', table).prop('checked', checked);
});
});
</script>
{% block javascript %}{% endblock %}