Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e415f5de

Von Bernd Bleßmann vor 25 Tagen hinzugefügt

  • ID e415f5de9002a664ab819aa4bfde510f6c2b5ac5
  • Vorgänger b8828a31
  • Nachfolger 6150a04a

Presenter Lagerplatz: Setzen der Namen (Attribute) gefixt.

Unterschiede anzeigen:

SL/Presenter/Warehouse.pm
42 42
  );
43 43

  
44 44
  my %wh_attributes = (
45
    name                => $wh_name,
46 45
    id                  => $wh_id,
47 46
    default             => $wh_default,
48 47
    with_empty          => $with_empty,
......
54 53
  );
55 54

  
56 55
  my %bin_attributes = (
57
    name      => $bin_name,
58 56
    id        => $bin_id,
59 57
    default   => $bin_default,
60 58
    title_key => 'description',
......
63 61

  
64 62
  $::request->layout->add_javascripts('kivi.Warehouse.js');
65 63

  
66
  div_tag(select_tag("${name}_wh", $all_warehouses, %wh_attributes) .
64
  div_tag(select_tag($wh_name, $all_warehouses, %wh_attributes) .
67 65
          select_tag($bin_name,    $all_bins,       %bin_attributes),
68 66
          %div_attributes);
69 67
}

Auch abrufbar als: Unified diff