Pflichtenheft Zeit-/Kostenschätzung: nach Speichern Form entfernen, nicht nur verstecken
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 2 Aug 2013 09:35:15 +0000 (11:35 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:09:09 +0000 (13:09 +0200)
SL/Controller/RequirementSpec.pm

index 484d8f2..3acb6b9 100644 (file)
@@ -141,7 +141,7 @@ sub action_ajax_save_time_and_cost_estimate {
 
   my $html = $self->render('requirement_spec/_show_time_and_cost_estimate', { output => 0 });
   $self->js->replaceWith('#time_cost_estimate', $html)
-           ->hide('#time_cost_estimate_form_container');
+           ->remove('#time_cost_estimate_form_container');
 
   if ($self->visible_section) {
     $html = $self->render('requirement_spec_item/_section', { output => 0 }, requirement_spec_item => $self->visible_section);