mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
constraint btn-edit event inside table not in $(document)
This commit is contained in:
@ -18,7 +18,7 @@ class ClienteFacturacion {
|
|||||||
$(this).tab('show');
|
$(this).tab('show');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).on('click', '.btn-edit', function (e) {
|
$('#tableOfFacturasCliente').on('click', '.btn-edit', function (e) {
|
||||||
window.location.href = '/facturas/edit/' + $(this).attr('data-id');
|
window.location.href = '/facturas/edit/' + $(this).attr('data-id');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user