From: Moritz Bunkus Date: Wed, 7 Aug 2013 13:08:53 +0000 (+0200) Subject: Pflichtenhefttextblöcke: Spruch "noch keine angelegt" verstecken, wenn einer angelegt... X-Git-Tag: release-3.2.0beta~467^2~82 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=effeec7d2d072a2f7d194b66a3510ec58933c7d8;p=kivitendo-erp.git Pflichtenhefttextblöcke: Spruch "noch keine angelegt" verstecken, wenn einer angelegt wurde --- 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);