X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/891d4ce8b577101d83026aa5c54fd3879df6215a..5aec18fed79986d088e3a7ed05a9166c48d05b39:/SL/Presenter/Part.pm?ds=sidebyside diff --git a/SL/Presenter/Part.pm b/SL/Presenter/Part.pm index 4bd45ca41..f84d706d5 100644 --- a/SL/Presenter/Part.pm +++ b/SL/Presenter/Part.pm @@ -42,7 +42,7 @@ sub part_picker { join('', map { $params{$_} ? $self->input_tag("", delete $params{$_}, id => "${id}_${_}", type => 'hidden') : '' } qw(part_type classification_id unit convertible_unit)) . $self->input_tag("", ref $value ? $value->displayable_name : '', id => "${id}_name", %params); - $::request->layout->add_javascripts('autocomplete_part.js'); + $::request->layout->add_javascripts('kivi.Part.js'); $::request->presenter->need_reinit_widgets($id); $self->html_tag('span', $ret, class => 'part_picker'); @@ -224,7 +224,7 @@ C will register it's javascript for inclusion in the next header rendering. If you write a standard controller that only call C once, it will just work. In case the header is generated in a different render call (multiple blocks, ajax, old C style controllers) you need to -include C yourself. +include C yourself. =back