Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5aec18fe

Von Sven Schöling vor etwa 7 Jahren hinzugefügt

  • ID 5aec18fed79986d088e3a7ed05a9166c48d05b39
  • Vorgänger 891d4ce8
  • Nachfolger 417a6f3f

PartPicker von autocomplete_part.js nach kivi.Part.js verschoben

Unterschiede anzeigen:

SL/Presenter/Part.pm
42 42
    join('', map { $params{$_} ? $self->input_tag("", delete $params{$_}, id => "${id}_${_}", type => 'hidden') : '' } qw(part_type classification_id unit convertible_unit)) .
43 43
    $self->input_tag("", ref $value ? $value->displayable_name : '', id => "${id}_name", %params);
44 44

  
45
  $::request->layout->add_javascripts('autocomplete_part.js');
45
  $::request->layout->add_javascripts('kivi.Part.js');
46 46
  $::request->presenter->need_reinit_widgets($id);
47 47

  
48 48
  $self->html_tag('span', $ret, class => 'part_picker');
......
224 224
rendering. If you write a standard controller that only call C<render> once, it
225 225
will just work.  In case the header is generated in a different render call
226 226
(multiple blocks, ajax, old C<bin/mozilla> style controllers) you need to
227
include C<js/autocomplete_part.js> yourself.
227
include C<kivi.Part.js> yourself.
228 228

  
229 229
=back
230 230

  

Auch abrufbar als: Unified diff