From 5723fbf943e494ce9ffd6f9fc44251eb04d3362c Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 17 Jul 2013 16:26:57 +0200 Subject: [PATCH] =?utf8?q?Pflichtenheftitems:=20Reihenfolge=20bei=20Anzeig?= =?utf8?q?en=20Unterfunktionsblockmaske=20f=C3=BCr=20Focus=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/RequirementSpecItem.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SL/Controller/RequirementSpecItem.pm b/SL/Controller/RequirementSpecItem.pm index ae68ef9b1..6b833f7bf 100644 --- a/SL/Controller/RequirementSpecItem.pm +++ b/SL/Controller/RequirementSpecItem.pm @@ -648,9 +648,8 @@ sub add_function_block { $self->item(SL::DB::RequirementSpecItem->new(requirement_spec_id => $::form->{requirement_spec_id}, parent_id => $parent_id, item_type => $new_type)); $self->ensure_section_is_shown; - $self->add_new_item_form(insert_position => $insert_position, insert_reference => $insert_reference, display_reference => $display_reference); - $self->js->show('#sub-function-block-container-' . $parent_id) if $new_type eq 'sub-function-block'; + $self->add_new_item_form(insert_position => $insert_position, insert_reference => $insert_reference, display_reference => $display_reference); $self->js->render($self); } -- 2.20.1