mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
solucionado problema al editar margenes en papel impresion
This commit is contained in:
@ -229,7 +229,7 @@
|
|||||||
const lastColNr3 = $('#tableOfPapelimpresionmargenes').find("tr:first th").length - 1;
|
const lastColNr3 = $('#tableOfPapelimpresionmargenes').find("tr:first th").length - 1;
|
||||||
const actionBtns3 = function(data) {
|
const actionBtns3 = function(data) {
|
||||||
return `
|
return `
|
||||||
<span class="edit"><a href="javascript:void(0);"><i class="ti ti-pencil ti-sm btn-edit2 mx-2" data-id="${data.id}"></i></a></span>
|
<span class="edit"><a href="javascript:void(0);"><i class="ti ti-pencil ti-sm btn-edit3 mx-2" data-id="${data.id}"></i></a></span>
|
||||||
<a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2" data-id="${data.id}" data-bs-toggle="modal" data-bs-target="#confirm2delete"></i></a>
|
<a href="javascript:void(0);"><i class="ti ti-trash ti-sm btn-delete mx-2" data-id="${data.id}" data-bs-toggle="modal" data-bs-target="#confirm2delete"></i></a>
|
||||||
<span class="cancel"></span>
|
<span class="cancel"></span>
|
||||||
`;
|
`;
|
||||||
@ -330,7 +330,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Activate an inline edit on click of a table cell
|
// Activate an inline edit on click of a table cell
|
||||||
$(document).on('click', '.btn-edit2', function(e) {
|
$(document).on('click', '.btn-edit3', function(e) {
|
||||||
editor3.inline(
|
editor3.inline(
|
||||||
theTable3.cells(this.parentNode.parentNode.parentNode, '*').nodes(),
|
theTable3.cells(this.parentNode.parentNode.parentNode, '*').nodes(),
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user