From: Sven Schöling Date: Wed, 15 Jan 2014 11:51:22 +0000 (+0100) Subject: customer_picker: name leer lassen, damit es nicht mit assign_attributes kollidiert X-Git-Tag: release-3.1.0beta1~22^2~2^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a31ce8afd1c05d8ac178a84660f10068359dc5ad;p=kivitendo-erp.git customer_picker: name leer lassen, damit es nicht mit assign_attributes kollidiert --- 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