mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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_product' => 'Successfully deleted product',
|
||||||
'deleted_products' => 'Successfully deleted :count products',
|
'deleted_products' => 'Successfully deleted :count products',
|
||||||
'restored_product' => 'Successfully restored product',
|
'restored_product' => 'Successfully restored product',
|
||||||
'update_credit' => 'Update credit',
|
'update_credit' => 'Update Credit',
|
||||||
'updated_credit' => 'Successfully updated credit',
|
'updated_credit' => 'Successfully updated credit',
|
||||||
'edit_credit' => 'Edit credit',
|
'edit_credit' => 'Edit Credit',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -169,6 +169,12 @@
|
|||||||
filterTable_{{ $entityType }}($('#tableFilter_{{ $entityType }}').val());
|
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
|
// Enable/disable bulk action buttons
|
||||||
window.onDatatableReady_{{ Utils::pluralizeEntityType($entityType) }} = function() {
|
window.onDatatableReady_{{ Utils::pluralizeEntityType($entityType) }} = function() {
|
||||||
$(':checkbox').click(function() {
|
$(':checkbox').click(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user