From c62238b45877412fa89242c375140b1425f51625 Mon Sep 17 00:00:00 2001 From: humano Date: Wed, 26 Dec 2018 12:08:16 -0500 Subject: [PATCH] campo buscador --- funciones/funciones.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 54cd903..e0b59b4 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -11286,7 +11286,8 @@ $div ="div_buscador_$name"; //$onchange = " delay(xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$tipo'),'10500'); document.getElementById('$name').value='';"; $claves = remplacetas("form_campos_valores","id_form_campo","$id_campo","campo_valor",""); $claves= $claves[0]; -$onchange = " delayFunction(function() { javascript:xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$claves')},0); ; document.getElementById('$name').value='';"; +//$onchange = " delayFunction(function() { javascript:xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$claves')},0); ; document.getElementById('$name').value='';"; +$onchange = "javascript:xajax_buscador_select('$id_campo','$form_id',(document.getElementById('buscador_$name').value),'$name','$control','$claves'); ; document.getElementById('$name').value='';"; $onclick = " xajax_buscador_select('$id_campo','$form_id','','$name','$control','$tipo'); document.getElementById('$name').value=''; (this).value='';"; $resultado =" @@ -11448,7 +11449,7 @@ $resultado .= " - $respuesta->addAssign("$div","innerHTML","$resultado $consulta"); + $respuesta->addAssign("$div","innerHTML","$resultado"); return $respuesta; }