From 4f79e0da8c871d3d8a63acfa8f594562a8986532 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 19 Jul 2013 10:03:07 +0200 Subject: [PATCH] =?utf8?q?Pflichtenheft:=20Nach=20Speichern=20Zeitabsch?= =?utf8?q?=C3=A4tzung=20PH=20neu=20laden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In der DB werden die Werte fürs Pflichtenheft mittels Trigger aufaddiert. Daher neu laden. --- SL/Controller/RequirementSpec.pm | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.20.1