mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Make larger area clickable in datatable header
This commit is contained in:
parent
55340b8d13
commit
9f7d7a32a3
@ -2249,9 +2249,9 @@ $LANG = array(
|
||||
'deleted_product' => 'Successfully deleted product',
|
||||
'deleted_products' => 'Successfully deleted :count products',
|
||||
'restored_product' => 'Successfully restored product',
|
||||
'update_credit' => 'Update credit',
|
||||
'update_credit' => 'Update Credit',
|
||||
'updated_credit' => 'Successfully updated credit',
|
||||
'edit_credit' => 'Edit credit',
|
||||
'edit_credit' => 'Edit Credit',
|
||||
|
||||
);
|
||||
|
||||
|
@ -169,6 +169,12 @@
|
||||
filterTable_{{ $entityType }}($('#tableFilter_{{ $entityType }}').val());
|
||||
}
|
||||
|
||||
$('.listForm_{{ $entityType }} .head0').click(function(event) {
|
||||
if (event.target.type !== 'checkbox') {
|
||||
$('.listForm_{{ $entityType }} .head0 input[type=checkbox]').click();
|
||||
}
|
||||
});
|
||||
|
||||
// Enable/disable bulk action buttons
|
||||
window.onDatatableReady_{{ Utils::pluralizeEntityType($entityType) }} = function() {
|
||||
$(':checkbox').click(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user