Revision c45b8d02
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/Controller/RequirementSpecComplexity.pm | ||
---|---|---|
70 | 70 |
|
71 | 71 |
SL::DB::RequirementSpecComplexity->reorder_list(@{ $::form->{requirement_spec_complexity_id} || [] }); |
72 | 72 |
|
73 |
$self->render('1;', { type => 'js', inline => 1 });
|
|
73 |
$self->render(\'', { type => 'json' });
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
# |
SL/Controller/RequirementSpecPredefinedText.pm | ||
---|---|---|
70 | 70 |
|
71 | 71 |
SL::DB::RequirementSpecPredefinedText->reorder_list(@{ $::form->{requirement_spec_predefined_text_id} || [] }); |
72 | 72 |
|
73 |
$self->render('1;', { type => 'js', inline => 1 });
|
|
73 |
$self->render(\'', { type => 'json' });
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
# |
SL/Controller/RequirementSpecRisk.pm | ||
---|---|---|
70 | 70 |
|
71 | 71 |
SL::DB::RequirementSpecRisk->reorder_list(@{ $::form->{requirement_spec_risk_id} || [] }); |
72 | 72 |
|
73 |
$self->render('1;', { type => 'js', inline => 1 });
|
|
73 |
$self->render(\'', { type => 'json' });
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
# |
SL/Controller/RequirementSpecStatus.pm | ||
---|---|---|
71 | 71 |
|
72 | 72 |
SL::DB::RequirementSpecStatus->reorder_list(@{ $::form->{requirement_spec_status_id} || [] }); |
73 | 73 |
|
74 |
$self->render('1;', { type => 'js', inline => 1 });
|
|
74 |
$self->render(\'', { type => 'json' });
|
|
75 | 75 |
} |
76 | 76 |
|
77 | 77 |
# |
SL/Controller/RequirementSpecType.pm | ||
---|---|---|
70 | 70 |
|
71 | 71 |
SL::DB::RequirementSpecType->reorder_list(@{ $::form->{requirement_spec_type_id} || [] }); |
72 | 72 |
|
73 |
$self->render('1;', { type => 'js', inline => 1 });
|
|
73 |
$self->render(\'', { type => 'json' });
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
# |
Auch abrufbar als: Unified diff
Refactoring: richtige leere JSON-Antwort erzeugen