Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 93cc0157

Von Moritz Bunkus vor fast 10 Jahren hinzugefügt

  • ID 93cc0157161476f242f3304b1950f80d0ba5ef08
  • Vorgänger 230c9dcf
  • Nachfolger ee745476

Pflichtenheft: nach benutzerdefinierten Variablen suchen können

Unterschiede anzeigen:

SL/Controller/RequirementSpec.pm
30 30
(
31 31
  scalar                  => [ qw(requirement_spec_item visible_item visible_section) ],
32 32
  'scalar --get_set_init' => [ qw(requirement_spec customers types statuses complexities risks projects project_types project_statuses default_project_type default_project_status copy_source js
33
                                  current_text_block_output_position models time_based_units html_template) ],
33
                                  current_text_block_output_position models time_based_units html_template cvar_configs) ],
34 34
);
35 35

  
36 36
__PACKAGE__->run_before('setup');
......
323 323

  
324 324
  $::auth->assert('requirement_spec_edit');
325 325
  $::request->{layout}->use_stylesheet("${_}.css") for qw(jquery.contextMenu requirement_spec);
326
  $::request->{layout}->use_javascript("${_}.js")  for qw(jquery.jstree jquery/jquery.contextMenu jquery/jquery.hotkeys requirement_spec ckeditor/ckeditor ckeditor/adapters/jquery autocomplete_part);
326
  $::request->{layout}->use_javascript("${_}.js")  for qw(jquery.jstree jquery/jquery.contextMenu jquery/jquery.hotkeys requirement_spec ckeditor/ckeditor ckeditor/adapters/jquery autocomplete_part autocomplete_customer);
327 327
  $self->init_visible_section;
328 328

  
329 329
  return 1;
......
340 340
sub init_statuses               { SL::DB::Manager::RequirementSpecStatus->get_all_sorted      }
341 341
sub init_time_based_units       { SL::DB::Manager::Unit->time_based_units                     }
342 342
sub init_types                  { SL::DB::Manager::RequirementSpecType->get_all_sorted        }
343
sub init_cvar_configs           { SL::DB::Manager::CustomVariableConfig->get_all_sorted(where => [ module => 'RequirementSpecs' ]) }
343 344

  
344 345
sub init_customers {
345 346
  my ($self) = @_;

Auch abrufbar als: Unified diff