Commit 4c62ffd1 by Billy Larru

arreglando bug de datatable en control de asistencias

parent c88b36d5
...@@ -251,10 +251,12 @@ function listarAsistencias(objParams = {}) { ...@@ -251,10 +251,12 @@ function listarAsistencias(objParams = {}) {
}, },
classNameForDatatable classNameForDatatable
).then((nodes) => { ).then((nodes) => {
nodes.container.on("click", ".registrar", function () { nodes.container
let data = nodes.datatable.DataTable().row($(this).parents("tr")).data(); .off()
mostrarModalRegistroAsistencia(data); .on("click", ".registrar", function () {
}); let data = nodes.datatable.DataTable().row($(this).parents("tr")).data();
mostrarModalRegistroAsistencia(data);
});
}); });
} }
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment