X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FRequirementSpecType.pm;h=e9bdb7b828dabfdf89c638115aca39b6397795b8;hb=048f2af4cc81425f9148dac716c4c1ecf23ab020;hp=e1e6aeebbb7cf4df786ac3242dac208767298986;hpb=4fa00e30d9bfcc5fe8e04659d5e93eda8e5686ab;p=kivitendo-erp.git diff --git a/SL/Controller/RequirementSpecType.pm b/SL/Controller/RequirementSpecType.pm index e1e6aeebb..e9bdb7b82 100644 --- a/SL/Controller/RequirementSpecType.pm +++ b/SL/Controller/RequirementSpecType.pm @@ -5,7 +5,6 @@ use strict; use parent qw(SL::Controller::Base); use SL::DB::RequirementSpecType; -use SL::DB::Language; use SL::Helper::Flash; use SL::Locale::String; @@ -32,7 +31,7 @@ sub action_list { sub action_new { my ($self) = @_; - $self->{requirement_spec_type} = SL::DB::RequirementSpecType->new; + $self->{requirement_spec_type} = SL::DB::RequirementSpecType->new(template_file_name => 'requirement_spec'); $self->render('requirement_spec_type/form', title => t8('Create a new requirement spec type')); } @@ -70,7 +69,7 @@ sub action_reorder { SL::DB::RequirementSpecType->reorder_list(@{ $::form->{requirement_spec_type_id} || [] }); - $self->render('1;', { type => 'js', inline => 1 }); + $self->render(\'', { type => 'json' }); } #