From 4452ab02bd54a924ba93c55e7a4815016ff339d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez=20Ortega?= Date: Wed, 8 May 2024 23:39:45 +0200 Subject: [PATCH] arreglados un par de fallos --- .../themes/vuexy/form/presupuestos/cliente/direcciones.js | 4 ++++ .../themes/vuexy/form/presupuestos/cliente/disenioLibro.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js index ee4fd584..b2b70859 100644 --- a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js +++ b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/direcciones.js @@ -220,6 +220,10 @@ $('#direcciones').on('change', function() { var $newAddDialog = $("#addressForm") $newAddDialog.modal('show') + + $newAddDialog.on('hidden.bs.modal', function (e) { + $('#direcciones').val(''); + }); } }) diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/disenioLibro.js b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/disenioLibro.js index 2cbef969..d67ad7f7 100644 --- a/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/disenioLibro.js +++ b/ci4/app/Views/themes/vuexy/form/presupuestos/cliente/disenioLibro.js @@ -671,7 +671,7 @@ async function calcularPresupuesto() { datos = Object.assign(datos, window.token_ajax) - + $('#divTiradasPrecio').empty(); $('#loader').show(); $.ajax({