Revision a31ce8af
Von Sven Schöling vor fast 11 Jahren hinzugefügt
SL/Template/Plugin/L.pm | ||
---|---|---|
247 | 247 |
$::request->{layout}->add_javascripts('autocomplete_customer.js'); |
248 | 248 |
|
249 | 249 |
$self->hidden_tag($name, (ref $value && $value->can('id') ? $value->id : ''), class => 'customer_autocomplete') . |
250 |
$self->input_tag("$name_e\_name", (ref $value && $value->can('name')) ? $value->name : '', %params);
|
|
250 |
$self->input_tag('', (ref $value && $value->can('name')) ? $value->name : '', id => $self->name_to_id("$name_e\_name"), %params);
|
|
251 | 251 |
} |
252 | 252 |
|
253 | 253 |
# simple version with select_tag |
Auch abrufbar als: Unified diff
customer_picker: name leer lassen, damit es nicht mit assign_attributes kollidiert