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() {