From: Moritz Bunkus Date: Fri, 19 Jul 2013 08:03:07 +0000 (+0200) Subject: Pflichtenheft: Nach Speichern Zeitabschätzung PH neu laden X-Git-Tag: release-3.2.0beta~467^2~103 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4f79e0da8c871d3d8a63acfa8f594562a8986532;p=kivitendo-erp.git Pflichtenheft: Nach Speichern Zeitabschätzung PH neu laden In der DB werden die Werte fürs Pflichtenheft mittels Trigger aufaddiert. Daher neu laden. --- diff --git a/SL/Controller/RequirementSpec.pm b/SL/Controller/RequirementSpec.pm index 689ef19a8..9da08f30d 100644 --- a/SL/Controller/RequirementSpec.pm +++ b/SL/Controller/RequirementSpec.pm @@ -134,6 +134,8 @@ sub action_ajax_save_time_and_cost_estimate { 1; }); + $self->requirement_spec(SL::DB::RequirementSpec->new(id => $self->requirement_spec->id)->load); + my $html = $self->render('requirement_spec/_show_time_and_cost_estimate', { output => 0 }); $self->js->replaceWith('#time_cost_estimate', $html);