X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/f5abed8644dc069876b3e1cca970cb842fd50ffa..862bc8ce30cd40b67d2856ac7f1d11d5e4322f09:/SL/Presenter/Part.pm?ds=inline diff --git a/SL/Presenter/Part.pm b/SL/Presenter/Part.pm index 97b14e886..5ec55503a 100644 --- a/SL/Presenter/Part.pm +++ b/SL/Presenter/Part.pm @@ -37,7 +37,7 @@ sub part_picker { my $ret = $self->input_tag($name, (ref $value && $value->can('id') ? $value->id : ''), class => "@classes", type => 'hidden', id => $id) . - join('', map { $params{$_} ? $self->input_tag("", delete $params{$_}, id => "${id}_${_}", type => 'hidden') : '' } qw(type unit convertible_unit)) . + join('', map { $params{$_} ? $self->input_tag("", delete $params{$_}, id => "${id}_${_}", type => 'hidden') : '' } qw(part_type unit convertible_unit)) . $self->input_tag("", ref $value ? $value->displayable_name : '', id => "${id}_name", %params); $::request->layout->add_javascripts('autocomplete_part.js'); @@ -105,7 +105,7 @@ C. C<$value> can be a parts id or a C instance. -If C<%params> contains C only parts of this type will be used +If C<%params> contains C only parts of this type will be used for autocompletion. You may comma separate multiple types as in C.