From 682d871de61e9ca07dc8e31764b9c0f920e22ee0 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 1 Aug 2013 12:00:19 +0200 Subject: [PATCH] =?utf8?q?Pflichtenheft-Kostensch=C3=A4tzung:=20nach=20Spe?= =?utf8?q?ichern=20Eingabefelder=20verstecken?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/RequirementSpec.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/Controller/RequirementSpec.pm b/SL/Controller/RequirementSpec.pm index 2a6413672..484d8f224 100644 --- a/SL/Controller/RequirementSpec.pm +++ b/SL/Controller/RequirementSpec.pm @@ -140,7 +140,8 @@ sub action_ajax_save_time_and_cost_estimate { $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); + $self->js->replaceWith('#time_cost_estimate', $html) + ->hide('#time_cost_estimate_form_container'); if ($self->visible_section) { $html = $self->render('requirement_spec_item/_section', { output => 0 }, requirement_spec_item => $self->visible_section); -- 2.20.1