From a31ce8afd1c05d8ac178a84660f10068359dc5ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 15 Jan 2014 12:51:22 +0100 Subject: [PATCH] customer_picker: name leer lassen, damit es nicht mit assign_attributes kollidiert --- SL/Template/Plugin/L.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 0c3fe7483..241141625 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -247,7 +247,7 @@ sub customer_picker { $::request->{layout}->add_javascripts('autocomplete_customer.js'); $self->hidden_tag($name, (ref $value && $value->can('id') ? $value->id : ''), class => 'customer_autocomplete') . - $self->input_tag("$name_e\_name", (ref $value && $value->can('name')) ? $value->name : '', %params); + $self->input_tag('', (ref $value && $value->can('name')) ? $value->name : '', id => $self->name_to_id("$name_e\_name"), %params); } # simple version with select_tag -- 2.20.1