Merge branch 'ent-4030-bug-en-busqueda-de-inventario' into 'develop'
Ent 4030 bug en busqueda de inventario See merge request artica/pandorafms!2431
This commit is contained in:
commit
9791b174b2
|
@ -4364,7 +4364,7 @@ function ui_print_agent_autocomplete_input($parameters)
|
|||
function '.$javascript_on_blur_function_name.'() {
|
||||
input_value = $("#'.$input_id.'").val();
|
||||
|
||||
if (input_value.length == 0) {
|
||||
if (input_value.length < 2) {
|
||||
if (('.((int) $print_hidden_input_idagent).')
|
||||
|| ('.((int) $use_hidden_input_idagent).')) {
|
||||
$("#'.$hidden_input_idagent_id.'").val(0);
|
||||
|
@ -4415,7 +4415,7 @@ function ui_print_agent_autocomplete_input($parameters)
|
|||
url: action="'.$javascript_ajax_page.'",
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
if (data.length == 0) {
|
||||
if (data.length < 2) {
|
||||
//Set icon
|
||||
$("#'.$input_id.'")
|
||||
.css("background",
|
||||
|
|
Loading…
Reference in New Issue