From effeec7d2d072a2f7d194b66a3510ec58933c7d8 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 7 Aug 2013 15:08:53 +0200 Subject: [PATCH] =?utf8?q?Pflichtenhefttextbl=C3=B6cke:=20Spruch=20"noch?= =?utf8?q?=20keine=20angelegt"=20verstecken,=20wenn=20einer=20angelegt=20w?= =?utf8?q?urde?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/RequirementSpecTextBlock.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Controller/RequirementSpecTextBlock.pm b/SL/Controller/RequirementSpecTextBlock.pm index 7d224f6e2..1901ce87c 100644 --- a/SL/Controller/RequirementSpecTextBlock.pm +++ b/SL/Controller/RequirementSpecTextBlock.pm @@ -99,6 +99,7 @@ sub action_ajax_create { my $node = $self->presenter->requirement_spec_text_block_jstree_data($self->text_block); $self->invalidate_version + ->hide('#text-block-list-empty') ->replaceWith('#' . $::form->{form_prefix} . '_form', $html) ->jstree->create_node('#tree', $insert_after ? ('#tb-' . $insert_after, 'after') : ('#tb-' . ($attributes->{output_position} == 0 ? 'front' : 'back'), 'last'), $node) ->jstree->select_node('#tree', '#tb-' . $self->text_block->id); -- 2.20.1