From 380eec609962e9826c5c5a2203acf788bcbcbc2a Mon Sep 17 00:00:00 2001 From: imnavajas Date: Mon, 8 Jan 2024 12:28:37 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20getVisibleTabs=20a=20los=20event?= =?UTF-8?q?os=20de=20dibujar=20tabla=20(draw)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_lineasPresupuestoItems.php | 19 ++----------------- .../cosidotapablanda/_previewItems.php | 3 --- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php index b27764df..73f91080 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php @@ -376,9 +376,6 @@ const actionBtns_lp = function(data) { language: { url: "//cdn.datatables.net/plug-ins/1.13.4/i18n/i18n ?>.json" }, - initComplete: function (settings, json) { - //getVisibleTabs(); - }, columnDefs: [ { targets: 0, @@ -549,6 +546,8 @@ const actionBtns_lp = function(data) { tableLineasPresupuesto.on( 'draw', function () { checkPaginasPresupuesto() + getVisibleTabs() + } ); @@ -1275,8 +1274,6 @@ function fill_lp_bn(row, fromComparator=false){ $("#tableLineasPresupuesto").DataTable().columns.adjust(); - // getVisibleTabs(); // Update preview UI - } function eventos_lp_bn(isInkjet = false){ @@ -1557,8 +1554,6 @@ function fill_lp_color(row, fromComparator=false){ $("#tableLineasPresupuesto").DataTable().columns.adjust(); - // getVisibleTabs(); // Update preview UI - } function eventos_lp_color(isInkjet = false){ @@ -1841,8 +1836,6 @@ function fill_lp_bnhq(row, fromComparator=false){ } $("#tableLineasPresupuesto").DataTable().columns.adjust(); - - // getVisibleTabs(); // Update preview UI } function eventos_lp_bnhq(isInkjet = false){ @@ -2127,8 +2120,6 @@ function fill_lp_colorhq(row, fromComparator=false){ $("#tableLineasPresupuesto").DataTable().columns.adjust(); - // getVisibleTabs(); // Update preview UI - } function eventos_lp_colorhq(isInkjet = false){ @@ -2446,8 +2437,6 @@ function fill_lp_rot_bn(row, fromComparador=false){ $('.lp_rot_bn').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); - // getVisibleTabs(); // Update preview UI - } function eventos_lp_rot_bn(){ @@ -2766,8 +2755,6 @@ function fill_lp_rot_color(row, fromComparador=false){ $("#tableLineasPresupuesto").DataTable().columns.adjust(); - // getVisibleTabs(); // Update preview UI - } function eventos_lp_rot_color(){ @@ -3030,8 +3017,6 @@ function fill_lp_cubierta(row, fromComparador=false){ $("#tableLineasPresupuesto").DataTable().columns.adjust(); - // getVisibleTabs(); // Update preview UI - } function eventos_lp_cubierta(){ diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php index 94b55442..3ffd052c 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php @@ -737,9 +737,6 @@ section("additionalInlineJs") ?> -getVisibleTabs(); - - $('#tab-pv-bn').on( "click", function() {