Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c45b8d02

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID c45b8d02a52b00efe282e14e55cf5c464066eb01
  • Vorgänger 2bd51903
  • Nachfolger 8bf1fc96

Refactoring: richtige leere JSON-Antwort erzeugen

Unterschiede anzeigen:

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